RSP recompiler cheating expects a RSP function address: p_func.

This commit is contained in:
unknown 2015-01-24 16:21:39 -05:00
parent 87aa0faf17
commit fd564c802a
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}