mirror of
https://github.com/mattrberry/crab.git
synced 2025-01-30 20:34:45 +01:00
stub flash so that pokemon games boot
This commit is contained in:
parent
4f1218cf54
commit
4247cf139d
1 changed files with 2 additions and 0 deletions
|
@ -8,6 +8,8 @@ class Bus
|
|||
end
|
||||
|
||||
def [](index : Int) : Byte
|
||||
return 0x62_u8 if index == 0x0E000000
|
||||
return 0x13_u8 if index == 0x0E000001
|
||||
log "read #{hex_str index.to_u32}"
|
||||
case bits(index, 24..27)
|
||||
when 0x0 then @bios[index & 0x3FFF]
|
||||
|
|
Loading…
Add table
Reference in a new issue