Skip to content

Commit

Permalink
execute(): The event scheduler is only checked once per CPU cycle
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkwhoffmann committed Jan 25, 2024
1 parent 363b0be commit 55aadf4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Emulator/Components/C64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1075,7 +1075,6 @@ C64::execute()
// Second clock phase (o2 high)
//

if (nextTrigger <= cycle) processEvents(cycle);
cpu.execute<MOS_6510>();
if constexpr (enable8) { if (drive8.needsEmulation) drive8.execute(durationOfOneCycle); }
if constexpr (enable9) { if (drive9.needsEmulation) drive9.execute(durationOfOneCycle); }
Expand Down

0 comments on commit 55aadf4

Please sign in to comment.