Fix a typo in the indexed color vertex loader

Patch from konpie: http://forums.dolphin-emulator.com/showthread.php?tid=24658
This commit is contained in:
Pierre Bourdon 2012-08-04 20:48:38 +02:00
parent 8597660855
commit 228172d656
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ void LOADERDECL Color_ReadIndex8_24b_888()
void LOADERDECL Color_ReadIndex8_32b_888x()
{
u8 Index = DataReadU8();
const u8 *iAddress = cached_arraybases[ARRAY_COLOR+colIndex] + (Index * arraystrides[ARRAY_COLOR]+colIndex);
const u8 *iAddress = cached_arraybases[ARRAY_COLOR+colIndex] + (Index * arraystrides[ARRAY_COLOR+colIndex]);
_SetCol(_Read24(iAddress));
}
void LOADERDECL Color_ReadIndex8_16b_4444()