Skip to content
Permalink
Browse files

DSP: Experiment with cleaning up ARAM accessor

  • Loading branch information...
booto committed Jan 26, 2019
1 parent 57fbf1c commit 73c0a4ee8118b16c8fbb9c2aa21986fb055a550f
Showing with 2 additions and 8 deletions.
  1. +2 −8 Source/Core/Core/HW/DSP.cpp
@@ -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)

0 comments on commit 73c0a4e

Please sign in to comment.
You can’t perform that action at this time.