From e2852e96255b5f0301da9c98de4f98566dd75745 Mon Sep 17 00:00:00 2001 From: nakeee Date: Thu, 2 Apr 2009 13:08:25 +0000 Subject: [PATCH] Unloop git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2831 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_DSP_LLE-testing/Src/DSPTables.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Source/Plugins/Plugin_DSP_LLE-testing/Src/DSPTables.cpp b/Source/Plugins/Plugin_DSP_LLE-testing/Src/DSPTables.cpp index d621b1a035..2add50c754 100644 --- a/Source/Plugins/Plugin_DSP_LLE-testing/Src/DSPTables.cpp +++ b/Source/Plugins/Plugin_DSP_LLE-testing/Src/DSPTables.cpp @@ -249,14 +249,12 @@ dspInstFunc opTable[OPTABLE_SIZE]; void InitInstructionTable() { for(u32 i = 0; i < OPTABLE_SIZE; i++) - { + opTable[i] = DSPInterpreter::unknown; + + for(u32 i = 0; i < OPTABLE_SIZE; i++) { for(u32 j = 0; j < opcodes_size; j++) - { if((opcodes[j].opcode_mask & i) == opcodes[j].opcode_mask) opTable[i] = opcodes[j].interpFunc; - else - opTable[i] = DSPInterpreter::unknown; - } } }