mirror of
https://github.com/colby-swandale/waterfoul
synced 2024-12-26 21:58:54 +01:00
move timer tick outside CPU non-halt loop, must always tick
This commit is contained in:
parent
e72058ec37
commit
91f3a27fe2
1 changed files with 1 additions and 1 deletions
|
@ -78,8 +78,8 @@ module Waterfoul
|
|||
serve_interrupt if @ime
|
||||
instruction_byte = fetch_instruction
|
||||
perform_instruction instruction_byte
|
||||
@timer.tick @m
|
||||
end
|
||||
@timer.tick @m
|
||||
end
|
||||
|
||||
def halted?
|
||||
|
|
Loading…
Reference in a new issue