diff --git a/CHANGES b/CHANGES index 449d43967..af395f570 100644 --- a/CHANGES +++ b/CHANGES @@ -9,6 +9,7 @@ Bugfixes: - GB Serialize: Fix audio state loading - GB Video: Fix dot clock timing being slightly wrong - GB MBC: Pocket Cam memory should be accessible without enabling + - GB Memory: Initialize peripheral pointers Misc: - GBA Timer: Use global cycles for timers - GBA: Extend oddly-sized ROMs to full address space (fixes mgba.io/i/722) diff --git a/src/gb/memory.c b/src/gb/memory.c index 1d40bb7a9..83556927c 100644 --- a/src/gb/memory.c +++ b/src/gb/memory.c @@ -103,6 +103,8 @@ void GBMemoryInit(struct GB* gb) { gb->memory.mbcWrite = NULL; gb->memory.rtc = NULL; + gb->memory.rotation = NULL; + gb->memory.rumble = NULL; GBIOInit(gb); }