aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore
diff options
context:
space:
mode:
authortwinaphex2020-02-09 14:12:16 +0100
committertwinaphex2020-02-09 14:12:16 +0100
commit87cc59de47301ff0a2e71b5ece28447ec77b0153 (patch)
tree1e5e06618500e2392efb3ed0db651e876270b07a /libpcsxcore
parent9c9d02e498a0ec5de6ea83f58b79fb972887c650 (diff)
downloadpcsx_rearmed-87cc59de47301ff0a2e71b5ece28447ec77b0153.tar.gz
pcsx_rearmed-87cc59de47301ff0a2e71b5ece28447ec77b0153.tar.bz2
pcsx_rearmed-87cc59de47301ff0a2e71b5ece28447ec77b0153.zip
(Android) Aarch64/x86/x64 now has lightrec support
Diffstat (limited to 'libpcsxcore')
-rw-r--r--libpcsxcore/misc.c2
-rw-r--r--libpcsxcore/psxmem.h4
-rw-r--r--libpcsxcore/r3000a.c2
3 files changed, 5 insertions, 3 deletions
diff --git a/libpcsxcore/misc.c b/libpcsxcore/misc.c
index 82e6b8b..56b7552 100644
--- a/libpcsxcore/misc.c
+++ b/libpcsxcore/misc.c
@@ -750,7 +750,7 @@ int RecvPcsxInfo() {
NET_recvData(&Config.Cpu, sizeof(Config.Cpu), PSE_NET_BLOCKING);
if (tmp != Config.Cpu) {
psxCpu->Shutdown();
-#ifdef PSXREC
+#if defined(NEW_DYNAREC) || defined(LIGHTREC)
if (Config.Cpu == CPU_INTERPRETER) psxCpu = &psxInt;
else psxCpu = &psxRec;
#else
diff --git a/libpcsxcore/psxmem.h b/libpcsxcore/psxmem.h
index d9fee00..36b4693 100644
--- a/libpcsxcore/psxmem.h
+++ b/libpcsxcore/psxmem.h
@@ -122,9 +122,11 @@ extern u8 **psxMemRLUT;
#define PSXMu32ref(mem) (*(u32 *)PSXM(mem))
-#if !defined(PSXREC) && (defined(__x86_64__) || defined(__i386__) || defined(__ppc__)) && !defined(NOPSXREC)
+#ifndef PSXREC
+#if defined(NEW_DYNAREC) || defined(LIGHTREC)
#define PSXREC
#endif
+#endif
int psxMemInit();
void psxMemReset();
diff --git a/libpcsxcore/r3000a.c b/libpcsxcore/r3000a.c
index 0433c20..1118107 100644
--- a/libpcsxcore/r3000a.c
+++ b/libpcsxcore/r3000a.c
@@ -32,7 +32,7 @@ psxRegisters psxRegs;
int psxInit() {
SysPrintf(_("Running PCSX Version %s (%s).\n"), PCSX_VERSION, __DATE__);
-#ifdef PSXREC
+#if defined(NEW_DYNAREC) || defined(LIGHTREC)
if (Config.Cpu == CPU_INTERPRETER) {
psxCpu = &psxInt;
} else psxCpu = &psxRec;