From af5d5b5bebb07aadb23a3c89b338e2dbabf06edb Mon Sep 17 00:00:00 2001 From: Marko Pusljar Date: Sat, 23 Apr 2011 13:35:29 +0000 Subject: [PATCH] WriteARAM() revert, this should fix ssbb/u git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7481 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/HW/DSP.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/Core/Core/Src/HW/DSP.cpp b/Source/Core/Core/Src/HW/DSP.cpp index af267bb5dd..fb6b600a10 100644 --- a/Source/Core/Core/Src/HW/DSP.cpp +++ b/Source/Core/Core/Src/HW/DSP.cpp @@ -737,8 +737,10 @@ u8 ReadARAM(u32 _iAddress) void WriteARAM(u8 value, u32 _uAddress) { //NOTICE_LOG(DSPINTERFACE, "WriteARAM 0x%08x", _uAddress); + //TODO: verify this on WII (SSBB/U) if (g_ARAM.wii_mode) - g_ARAM.ptr[(_uAddress & 0x10000000)?(_uAddress & 0x13ffffff):(_uAddress & 0x01ffffff)] = value; + //g_ARAM.ptr[(_uAddress & 0x10000000)?(_uAddress & 0x13ffffff):(_uAddress & 0x01ffffff)] = value; + g_ARAM.ptr[(_uAddress | 0x10000000) & 0x13ffffff] = value; else g_ARAM.ptr[_uAddress & g_ARAM.mask] = value; }