GB Memory: Initialize peripheral pointers

This commit is contained in:
Vicki Pfau 2017-07-25 18:34:39 -07:00
parent 22af2db6f3
commit a33304f567
2 changed files with 3 additions and 0 deletions

View File

@ -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

View File

@ -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);
} }