JitIL: Reverted r6117 because I could not find the case js.downcountAmount == 0. I'm sorry for confusion.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6118 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
e740c4caa8
commit
bab7721124
|
@ -294,7 +294,6 @@ void JitIL::Cleanup()
|
|||
void JitIL::WriteExit(u32 destination, int exit_num)
|
||||
{
|
||||
Cleanup();
|
||||
if (js.downcountAmount)
|
||||
SUB(32, M(&CoreTiming::downcount), js.downcountAmount > 127 ? Imm32(js.downcountAmount) : Imm8(js.downcountAmount));
|
||||
|
||||
//If nobody has taken care of this yet (this can be removed when all branches are done)
|
||||
|
@ -321,7 +320,6 @@ void JitIL::WriteExitDestInOpArg(const Gen::OpArg& arg, int exit_num)
|
|||
{
|
||||
MOV(32, M(&PC), arg);
|
||||
Cleanup();
|
||||
if (js.downcountAmount)
|
||||
SUB(32, M(&CoreTiming::downcount), js.downcountAmount > 127 ? Imm32(js.downcountAmount) : Imm8(js.downcountAmount));
|
||||
JMP(asm_routines.dispatcher, true);
|
||||
}
|
||||
|
@ -330,7 +328,6 @@ void JitIL::WriteRfiExitDestInOpArg(const Gen::OpArg& arg)
|
|||
{
|
||||
MOV(32, M(&PC), arg);
|
||||
Cleanup();
|
||||
if (js.downcountAmount)
|
||||
SUB(32, M(&CoreTiming::downcount), js.downcountAmount > 127 ? Imm32(js.downcountAmount) : Imm8(js.downcountAmount));
|
||||
JMP(asm_routines.testExceptions, true);
|
||||
}
|
||||
|
@ -338,7 +335,6 @@ void JitIL::WriteRfiExitDestInOpArg(const Gen::OpArg& arg)
|
|||
void JitIL::WriteExceptionExit()
|
||||
{
|
||||
Cleanup();
|
||||
if (js.downcountAmount)
|
||||
SUB(32, M(&CoreTiming::downcount), js.downcountAmount > 127 ? Imm32(js.downcountAmount) : Imm8(js.downcountAmount));
|
||||
JMP(asm_routines.testExceptions, true);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue