mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-16 02:59:11 +01:00
DSP: Experiment with cleaning up ARAM accessor
This commit is contained in:
parent
57fbf1cd6e
commit
73c0a4ee81
@ -586,15 +586,9 @@ u8 ReadARAM(u32 address)
|
||||
{
|
||||
if (s_ARAM.wii_mode)
|
||||
{
|
||||
if (address & 0x10000000)
|
||||
return s_ARAM.ptr[address & s_ARAM.mask];
|
||||
else
|
||||
return Memory::Read_U8(address & Memory::RAM_MASK);
|
||||
}
|
||||
else
|
||||
{
|
||||
return s_ARAM.ptr[address & s_ARAM.mask];
|
||||
return Memory::Read_U8(address & 0x1fffffff);
|
||||
}
|
||||
return s_ARAM.ptr[address & s_ARAM.mask];
|
||||
}
|
||||
|
||||
void WriteARAM(u8 value, u32 address)
|
||||
|
Loading…
x
Reference in New Issue
Block a user