Fast path CallSyscall where possible.

It seems we're spending a decent amount of time there, which isn't
entirely unexpected.  We can eliminate some things easily.
This commit is contained in:
Unknown W. Brackets committed 2013-11-04 07:59:37 -08:00
1 parent baa82e0a9d
commit 732ae13ebb
7 files changed
+118 -49

No files matched your search

+1 -4
View File
@@ -159,10 +159,7 @@ namespace MIPSInt
mipsr4k.pc += 4;
}
mipsr4k.inDelaySlot = false;
if (op == GetSyscallOp("FakeSysCalls", NID_IDLE))
GetFunc("FakeSysCalls", NID_IDLE)->func();
else
CallSyscall(op);
CallSyscall(op);
}
void Int_Sync(MIPSOpcode op)