mirror of https://github.com/mgba-emu/mgba.git
Prepopulate RCNT
This commit is contained in:
parent
d8778cf516
commit
3ca0a97ca1
|
@ -4,6 +4,7 @@
|
|||
|
||||
void GBAIOInit(struct GBA* gba) {
|
||||
gba->memory.io[REG_DISPCNT >> 1] = 0x0080;
|
||||
gba->memory.io[REG_RCNT >> 1] = 0x8000;
|
||||
gba->memory.io[REG_KEYINPUT >> 1] = 0x3FF;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue