summaryrefslogtreecommitdiff
path: root/libpcsxcore
diff options
context:
space:
mode:
authoriCatButler <i.am.catbutler@gmail.com>2016-06-29 08:54:46 +0100
committeriCatButler <i.am.catbutler@gmail.com>2016-06-29 08:54:46 +0100
commit6b78a14b0e466ff870aa042185c67539a8c51324 (patch)
treeaf4f3ffa3875741fc982b5667abf8537a717e022 /libpcsxcore
parent42176205ce9ed9aa2408d4042a816fe5cd082519 (diff)
downloadpcsxr-6b78a14b0e466ff870aa042185c67539a8c51324.tar.gz
Disable debug mode
- Also add stub for RFE operation
Diffstat (limited to 'libpcsxcore')
-rw-r--r--libpcsxcore/pgxp_cpu.c5
-rw-r--r--libpcsxcore/pgxp_cpu.h1
-rw-r--r--libpcsxcore/pgxp_debug.h2
-rwxr-xr-xlibpcsxcore/r3000a.h1
4 files changed, 7 insertions, 2 deletions
diff --git a/libpcsxcore/pgxp_cpu.c b/libpcsxcore/pgxp_cpu.c
index a5484740..17853afc 100644
--- a/libpcsxcore/pgxp_cpu.c
+++ b/libpcsxcore/pgxp_cpu.c
@@ -793,4 +793,7 @@ void PGXP_CP0_CTC0(u32 instr, u32 rtVal)
// CP0[Rd] = CPU[Rt]
Validate(&CPU_reg[rt(instr)], rtVal);
CP0_reg[rd(instr)] = CPU_reg[rt(instr)];
-} \ No newline at end of file
+}
+
+void PGXP_CP0_RFE(u32 instr)
+{} \ No newline at end of file
diff --git a/libpcsxcore/pgxp_cpu.h b/libpcsxcore/pgxp_cpu.h
index 50236d54..00a4cd60 100644
--- a/libpcsxcore/pgxp_cpu.h
+++ b/libpcsxcore/pgxp_cpu.h
@@ -116,5 +116,6 @@ void PGXP_CP0_MFC0(u32 instr, u32 rdVal);
void PGXP_CP0_MTC0(u32 instr, u32 rtVal);
void PGXP_CP0_CFC0(u32 instr, u32 rdVal);
void PGXP_CP0_CTC0(u32 instr, u32 rtVal);
+void PGXP_CP0_RFE(u32 instr);
#endif //_PGXP_CPU_H_ \ No newline at end of file
diff --git a/libpcsxcore/pgxp_debug.h b/libpcsxcore/pgxp_debug.h
index 1c9cb79e..4139108e 100644
--- a/libpcsxcore/pgxp_debug.h
+++ b/libpcsxcore/pgxp_debug.h
@@ -30,7 +30,7 @@
#include "psxcommon.h"
-#define PGXP_CPU_DEBUG
+//#define PGXP_CPU_DEBUG
// Debug wrappers
void PGXP_psxTraceOp(u32 code);
diff --git a/libpcsxcore/r3000a.h b/libpcsxcore/r3000a.h
index b0616256..3159891e 100755
--- a/libpcsxcore/r3000a.h
+++ b/libpcsxcore/r3000a.h
@@ -347,6 +347,7 @@ void psxDelayTest(int reg, u32 bpc);
void psxTestSWInts();
void psxJumpTest();
+void intSetPGXPMode(u32 pgxpMode);
void psxSetPGXPMode(u32 pgxpMode);
#ifdef __cplusplus