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; - } } }