diff options
| author | Rodolfo Osvaldo Bogado <rodolfoosvaldobogado@gmail.com> | 2011-05-25 18:14:29 +0000 |
|---|---|---|
| committer | Rodolfo Osvaldo Bogado <rodolfoosvaldobogado@gmail.com> | 2011-05-25 18:14:29 +0000 |
| commit | 0e225a5ad19161618bc22df20f7ccbb140da2406 (patch) | |
| tree | 38d66ed61b3aecb5128ab398755550cddf2a66b5 /Source/Core/VideoCommon | |
| parent | a9f7a0c284677611efd2c535f15b5c95f57048c7 (diff) | |
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
Diffstat (limited to 'Source/Core/VideoCommon')
| -rw-r--r-- | Source/Core/VideoCommon/Src/XFStructs.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/Src/XFStructs.cpp b/Source/Core/VideoCommon/Src/XFStructs.cpp index 4f91c94151..b4afdf3d6b 100644 --- a/Source/Core/VideoCommon/Src/XFStructs.cpp +++ b/Source/Core/VideoCommon/Src/XFStructs.cpp @@ -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); } |
