From 0e20ee5f2669e2bcb295bf96508ec566764cb8b6 Mon Sep 17 00:00:00 2001 From: Gericom Date: Wed, 1 Jan 2020 12:46:33 +0100 Subject: [PATCH] Use correct uncached address in mp2000 patch --- arm9/source/gamePatches.vram.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arm9/source/gamePatches.vram.cpp b/arm9/source/gamePatches.vram.cpp index e07e7dd..beab2d9 100644 --- a/arm9/source/gamePatches.vram.cpp +++ b/arm9/source/gamePatches.vram.cpp @@ -57,7 +57,7 @@ void gptc_patchRom() u32 oldVal = *pSoundAreaPtr; //relocate SoundArea to uncached main memory if (oldVal >= 0x02000000 && oldVal < 0x04000000) - *pSoundAreaPtr = (u32)&vram_cd->mp2000SoundArea[0] | 0x00800000; + *pSoundAreaPtr = (u32)&vram_cd->mp2000SoundArea[0] + UNCACHED_OFFSET; } u32 gameCode = *(u32*)(MAIN_MEMORY_ADDRESS_ROM_DATA + 0xAC);