mirror of https://github.com/mgba-emu/mgba.git
GBA: Add initial I/O register settings for background matrix registers
This commit is contained in:
parent
3ff3c24821
commit
e112e86715
1
CHANGES
1
CHANGES
|
@ -19,6 +19,7 @@ Bugfixes:
|
|||
- Qt: Fix window not regaining focus after exiting savestate window
|
||||
- Qt: Fix regression where video would not record if the game had already started
|
||||
- GBA: Fix rewind boundary conditions
|
||||
- GBA: Add initial I/O register settings for background matrix registers
|
||||
Misc:
|
||||
- Qt: Show multiplayer numbers in window title
|
||||
|
||||
|
|
|
@ -286,6 +286,10 @@ void GBAIOInit(struct GBA* gba) {
|
|||
gba->memory.io[REG_RCNT >> 1] = RCNT_INITIAL;
|
||||
gba->memory.io[REG_KEYINPUT >> 1] = 0x3FF;
|
||||
gba->memory.io[REG_SOUNDBIAS >> 1] = 0x200;
|
||||
gba->memory.io[REG_BG2PA >> 1] = 0x100;
|
||||
gba->memory.io[REG_BG2PD >> 1] = 0x100;
|
||||
gba->memory.io[REG_BG3PA >> 1] = 0x100;
|
||||
gba->memory.io[REG_BG3PD >> 1] = 0x100;
|
||||
}
|
||||
|
||||
void GBAIOWrite(struct GBA* gba, uint32_t address, uint16_t value) {
|
||||
|
|
Loading…
Reference in New Issue