mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-09-20 19:31:53 +02: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
1 changed files with 7 additions and 3 deletions
|
@ -252,9 +252,13 @@ void InitInstructionTable()
|
||||||
opTable[i] = DSPInterpreter::unknown;
|
opTable[i] = DSPInterpreter::unknown;
|
||||||
|
|
||||||
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) {
|
||||||
opTable[i] = opcodes[j].interpFunc;
|
if (opTable[i] != DSPInterpreter::unknown)
|
||||||
|
opTable[i] = opcodes[j].interpFunc;
|
||||||
|
else
|
||||||
|
ERROR_LOG(DSPHLE, "opcode table place %d already in use for %d", i, j);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue