mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
LOL, forgot the check
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2834 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -253,8 +253,12 @@ void InitInstructionTable()
|
|||||||
|
|
||||||
for(u32 i = 0; i < OPTABLE_SIZE; i++) {
|
for(u32 i = 0; i < OPTABLE_SIZE; i++) {
|
||||||
for(u32 j = 0; j < opcodes_size; j++)
|
for(u32 j = 0; j < opcodes_size; j++)
|
||||||
if((opcodes[j].opcode_mask & i) == opcodes[j].opcode_mask)
|
if((opcodes[j].opcode_mask & i) == opcodes[j].opcode_mask) {
|
||||||
|
if (opTable[i] != DSPInterpreter::unknown)
|
||||||
opTable[i] = opcodes[j].interpFunc;
|
opTable[i] = opcodes[j].interpFunc;
|
||||||
|
else
|
||||||
|
ERROR_LOG(DSPHLE, "opcode table place %d already in use for %d", i, j);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user