Fixed some mistakes from r6076:

* Fixed missing UnlockAllX
* Fixed 64-bits compilation

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6077 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
dok.slade 2010-08-08 18:53:00 +00:00
parent 5a248b46a1
commit 244191f18f
2 changed files with 8 additions and 1 deletions

View File

@ -267,6 +267,13 @@ void XEmitter::ABI_CallFunctionAC(void *func, const Gen::OpArg &arg1, u32 param2
CALL(func); CALL(func);
} }
void XEmitter::ABI_CallFunctionA(void *func, const Gen::OpArg &arg1)
{
if (!arg1.IsSimpleReg(ABI_PARAM1))
MOV(32, R(ABI_PARAM1), arg1);
CALL(func);
}
unsigned int XEmitter::ABI_GetAlignedFrameSize(unsigned int frameSize) { unsigned int XEmitter::ABI_GetAlignedFrameSize(unsigned int frameSize) {
return frameSize; return frameSize;
} }

View File

@ -251,7 +251,7 @@ void Jit64::lXXx(UGeckoInstruction inst)
MEMCHECK_END MEMCHECK_END
gpr.UnlockAll(); gpr.UnlockAll();
gpr.UnlockAll(); gpr.UnlockAllX();
} }
// Zero cache line. // Zero cache line.