x86jit: Oops, fix a typesafety error.

This commit is contained in:
Unknown W. Brackets committed 2014-12-17 08:07:43 -08:00
1 parent 9022b48069
commit b9eddc3d25
1 file changed
+2 -2
+2 -2
View File
@@ -740,14 +740,14 @@ void Jit::WriteExitDestInReg(X64Reg reg)
SetJumpTarget(tooLow);
SetJumpTarget(tooHigh);
ABI_CallFunctionA(Memory::GetPointer, R(reg));
ABI_CallFunctionA((const void *)&Memory::GetPointer, R(reg));
// If we're ignoring, coreState didn't trip - so trip it now.
if (g_Config.bIgnoreBadMemAccess)
{
CMP(32, R(EAX), Imm32(0));
FixupBranch skip = J_CC(CC_NE);
ABI_CallFunctionA(&Core_UpdateState, Imm32(CORE_ERROR));
ABI_CallFunctionA((const void *)&Core_UpdateState, Imm32(CORE_ERROR));
SetJumpTarget(skip);
}