mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
some code cleanup i have left in my folder :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7560 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -251,7 +251,7 @@ void LoadXFReg(u32 transferSize, u32 baseAddress, u32 *pData)
|
||||
}
|
||||
|
||||
// TODO - verify that it is correct. Seems to work, though.
|
||||
void LoadIndexedXF(u32 val, int array)
|
||||
void LoadIndexedXF(u32 val, int refarray)
|
||||
{
|
||||
int index = val >> 16;
|
||||
int address = val & 0xFFF; // check mask
|
||||
@ -261,5 +261,5 @@ void LoadIndexedXF(u32 val, int array)
|
||||
XFMemWritten(size, address);
|
||||
|
||||
for (int i = 0; i < size; i++)
|
||||
xfmem[address + i] = Memory::Read_U32(arraybases[array] + arraystrides[array] * index + i * 4);
|
||||
xfmem[address + i] = Memory::Read_U32(arraybases[refarray] + arraystrides[refarray] * index + i * 4);
|
||||
}
|
||||
|
Reference in New Issue
Block a user