From 228172d6561dd053442bde272da206a1e8ff95f4 Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Sat, 4 Aug 2012 20:48:38 +0200 Subject: [PATCH] Fix a typo in the indexed color vertex loader Patch from konpie: http://forums.dolphin-emulator.com/showthread.php?tid=24658 --- Source/Core/VideoCommon/Src/VertexLoader_Color.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/VideoCommon/Src/VertexLoader_Color.cpp b/Source/Core/VideoCommon/Src/VertexLoader_Color.cpp index b16e7e6ee9..9cfa5efc31 100644 --- a/Source/Core/VideoCommon/Src/VertexLoader_Color.cpp +++ b/Source/Core/VideoCommon/Src/VertexLoader_Color.cpp @@ -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()