summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/OpcodeDecoding.cpp
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2012-08-04 20:45:48 +0200
committerPierre Bourdon <delroth@gmail.com>2012-08-05 04:24:08 +0200
commit8597660855bff08c746a23cda150dc8f8296f1d0 (patch)
tree065691240e701bd68bab1fe236b59f39ae5a11c5 /Source/Core/VideoCommon/Src/OpcodeDecoding.cpp
parentd44a3471becee560dd48cb34d5be259e75d66065 (diff)
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
Diffstat (limited to 'Source/Core/VideoCommon/Src/OpcodeDecoding.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/OpcodeDecoding.cpp3
1 files changed, 2 insertions, 1 deletions
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