From 8597660855bff08c746a23cda150dc8f8296f1d0 Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Sat, 4 Aug 2012 20:45:48 +0200 Subject: [PATCH] Replace all of the opcode data read functions by their SSSE3 equivalent, not only the first one. Patch from konpie: http://forums.dolphin-emulator.com/showthread.php?tid=24658 --- Source/Core/VideoCommon/Src/OpcodeDecoding.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Core/VideoCommon/Src/OpcodeDecoding.cpp b/Source/Core/VideoCommon/Src/OpcodeDecoding.cpp index 18d6726ae3..4f7f86d655 100644 --- a/Source/Core/VideoCommon/Src/OpcodeDecoding.cpp +++ b/Source/Core/VideoCommon/Src/OpcodeDecoding.cpp @@ -439,7 +439,8 @@ void OpcodeDecoder_Init() #if _M_SSE >= 0x301 if (cpu_info.bSSSE3) { - *DataReadU32xFuncs = *DataReadU32xFuncs_SSSE3; + for (int i = 0; i < 16; ++i) + DataReadU32xFuncs[i] = DataReadU32xFuncs_SSSE3[i]; } #endif