stop printing for lack of stop mode

This commit is contained in:
Matthew Berry 2022-09-02 17:56:02 -07:00
parent 7543c401a8
commit cd97745c09
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@ module GBA
end
def []=(io_addr : Int, value : Byte) : Nil
puts "TODO: Implement stopping and keycnt behavior" if 0x132 <= io_addr <= 0x133
# TODO: If stopping is implemented, implement keycnt to exit stop mode
end
def handle_input(input : Input, pressed : Bool) : Nil

View file

@ -40,7 +40,7 @@ module GBA
when 0x204..0x205 then @waitcnt.write_byte(io_addr & 1, value)
when 0x301
if bit?(value, 7)
puts "TODO: Implement stopping behavior"
# TODO: See about supporting some kind of stopping
else
@gba.cpu.halted = true
end