Fixed Pokemon Battle Revolution sound too

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1172 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
John Peterson
2008-11-14 13:04:42 +00:00
parent 98e84e7909
commit 2d90e4c62c
3 changed files with 34 additions and 22 deletions

View File

@ -71,7 +71,8 @@ enum
{
ARAM_SIZE = 0x01000000, // 16 MB
ARAM_MASK = 0x00FFFFFF,
WII_MASK = 0x017FFFFF
WII_MASK = 0x017FFFFF,
WII_MEM2 = 0x03FFFFFF
};
// UARAMCount
@ -632,8 +633,8 @@ u8 ReadARAM(u32 _iAddress)
// Does this make any sense?
if(_iAddress > WII_MASK)
{
if(_iAddress > WII_MASK)
_iAddress = (_iAddress & WII_MASK);
if(_iAddress > WII_MEM2)
_iAddress = (_iAddress & WII_MEM2);
return g_MEM2[_iAddress];
}
else