Skip to content

Commit

Permalink
Fix timing problems on some C64s
Browse files Browse the repository at this point in the history
  • Loading branch information
KimJorgensen committed May 2, 2022
1 parent 9e72252 commit 91f3c58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firmware/stm32f4xx/c64_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ static void handler(void)
COMPILER_BARRIER(); \
while (DWT->CYCCNT < phi2_high); \
u32 addr = C64_ADDR_READ(); \
COMPILER_BARRIER(); \
u32 control = C64_CONTROL_READ(); \
COMPILER_BARRIER(); \
if (control & C64_WRITE) \
{ \
if (read_handler(control, addr)) \
Expand Down

0 comments on commit 91f3c58

Please sign in to comment.