mirror of
https://github.com/mattrberry/crab.git
synced 2025-02-09 08:46:02 +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
|
else
|
||||||
arm_execute instr
|
arm_execute instr
|
||||||
end
|
end
|
||||||
@gba.scheduler.tick @gba.bus.cycles
|
cycles, @gba.bus.cycles = @gba.bus.cycles, 0
|
||||||
@gba.bus.cycles = 0
|
@gba.scheduler.tick cycles
|
||||||
else
|
else
|
||||||
@gba.scheduler.fast_forward
|
@gba.scheduler.fast_forward
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue