mirror of
https://github.com/mattrberry/crab.git
synced 2024-11-16 19:49:30 +01:00
temporarily patch rcnt to return 0x8000 so that sonic advance boots
This commit is contained in:
parent
ed1a8214c6
commit
61b21b4233
1 changed files with 5 additions and 1 deletions
|
@ -33,7 +33,11 @@ module GBA
|
|||
@gba.keypad.read_io io_addr
|
||||
elsif 0x120 <= io_addr <= 0x12F || 0x134 <= io_addr <= 0x1FF
|
||||
# todo: serial
|
||||
0_u8
|
||||
if io_addr == 0x135
|
||||
0x80_u8
|
||||
else
|
||||
0_u8
|
||||
end
|
||||
elsif 0x200 <= io_addr <= 0x203 || 0x208 <= io_addr <= 0x209
|
||||
@gba.interrupts.read_io io_addr
|
||||
elsif 0x204 <= io_addr <= 0x205
|
||||
|
|
Loading…
Reference in a new issue