mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-04 10:15:27 +02:00
x86jit: Oops, fix a typesafety error.
This commit is contained in:
1 parent
9022b48069
commit
b9eddc3d25
1 file changed
+2
-2
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user