mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-02 11:02:28 +02:00
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:
parent
8597660855
commit
228172d656
@ -149,7 +149,7 @@ void LOADERDECL Color_ReadIndex8_24b_888()
|
|||||||
void LOADERDECL Color_ReadIndex8_32b_888x()
|
void LOADERDECL Color_ReadIndex8_32b_888x()
|
||||||
{
|
{
|
||||||
u8 Index = DataReadU8();
|
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));
|
_SetCol(_Read24(iAddress));
|
||||||
}
|
}
|
||||||
void LOADERDECL Color_ReadIndex8_16b_4444()
|
void LOADERDECL Color_ReadIndex8_16b_4444()
|
||||||
|
Loading…
Reference in New Issue
Block a user