mirror of
https://github.com/mattrberry/crab.git
synced 2025-02-04 08:46:04 +01:00
stop printing for lack of stop mode
This commit is contained in:
parent
7543c401a8
commit
cd97745c09
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue