JIT: Disabled a "if (js.isLastInstruction)" condition in WriteCallInterpreter(). This will make MegaMan Network Transmission (2003) show the main menu again, and perhaps work like before again.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2065 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
2cc882e88f
commit
10b39bcb53
|
@ -221,7 +221,7 @@ namespace CPUCompare
|
||||||
asm_routines.Shutdown();
|
asm_routines.Shutdown();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// This is only called by Default() in this file. It will execute an instruction with the interpreter functions.
|
||||||
void Jit64::WriteCallInterpreter(UGeckoInstruction inst)
|
void Jit64::WriteCallInterpreter(UGeckoInstruction inst)
|
||||||
{
|
{
|
||||||
gpr.Flush(FLUSH_ALL);
|
gpr.Flush(FLUSH_ALL);
|
||||||
|
@ -233,11 +233,14 @@ namespace CPUCompare
|
||||||
}
|
}
|
||||||
Interpreter::_interpreterInstruction instr = GetInterpreterOp(inst);
|
Interpreter::_interpreterInstruction instr = GetInterpreterOp(inst);
|
||||||
ABI_CallFunctionC((void*)instr, inst.hex);
|
ABI_CallFunctionC((void*)instr, inst.hex);
|
||||||
|
// This was added in revision 1954, I don't know what it does. MegaMan would hang if this was enabled.
|
||||||
|
/*
|
||||||
if (js.isLastInstruction)
|
if (js.isLastInstruction)
|
||||||
{
|
{
|
||||||
MOV(32, R(EAX), M(&NPC));
|
MOV(32, R(EAX), M(&NPC));
|
||||||
WriteRfiExitDestInEAX();
|
WriteRfiExitDestInEAX();
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
void Jit64::unknown_instruction(UGeckoInstruction inst)
|
void Jit64::unknown_instruction(UGeckoInstruction inst)
|
||||||
|
|
Loading…
Reference in New Issue