mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 15:19:09 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue