mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 07:21:14 +01: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:
parent
69869bfd7c
commit
188ad88125
@ -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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user