Skip to content

Commit

Permalink
DSP: Experiment with cleaning up ARAM accessor
Browse files Browse the repository at this point in the history
  • Loading branch information
booto committed Jan 26, 2019
1 parent 51a219c commit d0a7211
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions Source/Core/Core/HW/DSP.cpp
Expand Up @@ -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)
Expand Down

0 comments on commit d0a7211

Please sign in to comment.