mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-15 23:08:51 +00:00
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:
parent
98e84e7909
commit
2d90e4c62c
3 changed files with 34 additions and 22 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue