mirror of https://github.com/mgba-emu/mgba.git
GB Memory: Initialize peripheral pointers
This commit is contained in:
parent
22af2db6f3
commit
a33304f567
1
CHANGES
1
CHANGES
|
@ -4,6 +4,7 @@ Bugfixes:
|
||||||
- GBA: Reset active region as needed when loading a ROM
|
- GBA: Reset active region as needed when loading a ROM
|
||||||
- Qt: Fix command line debugger closing second game
|
- Qt: Fix command line debugger closing second game
|
||||||
- GB MBC: Pocket Cam memory should be accessible without enabling
|
- GB MBC: Pocket Cam memory should be accessible without enabling
|
||||||
|
- GB Memory: Initialize peripheral pointers
|
||||||
Misc:
|
Misc:
|
||||||
- Qt: Don't rebuild library view if style hasn't changed
|
- Qt: Don't rebuild library view if style hasn't changed
|
||||||
|
|
||||||
|
|
|
@ -103,6 +103,8 @@ void GBMemoryInit(struct GB* gb) {
|
||||||
gb->memory.mbcWrite = NULL;
|
gb->memory.mbcWrite = NULL;
|
||||||
|
|
||||||
gb->memory.rtc = NULL;
|
gb->memory.rtc = NULL;
|
||||||
|
gb->memory.rotation = NULL;
|
||||||
|
gb->memory.rumble = NULL;
|
||||||
|
|
||||||
GBIOInit(gb);
|
GBIOInit(gb);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue