From fd564c802ae75d34ea94d451e9faeabaa64ea948 Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 24 Jan 2015 16:21:39 -0500 Subject: [PATCH] RSP recompiler cheating expects a RSP function address: p_func. --- Source/RSP/Recompiler Ops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/RSP/Recompiler Ops.c b/Source/RSP/Recompiler Ops.c index ed32b881e..3c39c5875 100644 --- a/Source/RSP/Recompiler Ops.c +++ b/Source/RSP/Recompiler Ops.c @@ -118,13 +118,13 @@ void Branch_AddRef(DWORD Target, DWORD * X86Loc) { } } -void Cheat_r4300iOpcode ( void * FunctAddress, char * FunctName) { +void Cheat_r4300iOpcode(p_func FunctAddress, char * FunctName) { CPU_Message(" %X %s",CompilePC,RSPOpcodeName(RSPOpC.Hex,CompilePC)); MoveConstToVariable(RSPOpC.Hex, &RSPOpC.Hex, "RSPOpC.Hex" ); Call_Direct(FunctAddress, FunctName); } -void Cheat_r4300iOpcodeNoMessage( void * FunctAddress, char * FunctName) { +void Cheat_r4300iOpcodeNoMessage(p_func FunctAddress, char * FunctName) { MoveConstToVariable(RSPOpC.Hex, &RSPOpC.Hex, "RSPOpC.Hex" ); Call_Direct(FunctAddress, FunctName); }