WriteARAM() revert, this should fix ssbb/u
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7481 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
35026f9de1
commit
af5d5b5beb
|
@ -737,8 +737,10 @@ u8 ReadARAM(u32 _iAddress)
|
||||||
void WriteARAM(u8 value, u32 _uAddress)
|
void WriteARAM(u8 value, u32 _uAddress)
|
||||||
{
|
{
|
||||||
//NOTICE_LOG(DSPINTERFACE, "WriteARAM 0x%08x", _uAddress);
|
//NOTICE_LOG(DSPINTERFACE, "WriteARAM 0x%08x", _uAddress);
|
||||||
|
//TODO: verify this on WII (SSBB/U)
|
||||||
if (g_ARAM.wii_mode)
|
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
|
else
|
||||||
g_ARAM.ptr[_uAddress & g_ARAM.mask] = value;
|
g_ARAM.ptr[_uAddress & g_ARAM.mask] = value;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue