mirror of
https://github.com/mattrberry/crab.git
synced 2025-02-04 08:46:04 +01:00
clear bus cycle counter before running scheduler
This commit is contained in:
parent
432bfb962c
commit
8704417243
1 changed files with 2 additions and 2 deletions
|
@ -141,8 +141,8 @@ module GBA
|
|||
else
|
||||
arm_execute instr
|
||||
end
|
||||
@gba.scheduler.tick @gba.bus.cycles
|
||||
@gba.bus.cycles = 0
|
||||
cycles, @gba.bus.cycles = @gba.bus.cycles, 0
|
||||
@gba.scheduler.tick cycles
|
||||
else
|
||||
@gba.scheduler.fast_forward
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue