mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Unloop
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2831 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user