aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore/new_dynarec/emu_if.c
diff options
context:
space:
mode:
authornotaz2012-11-21 03:11:59 +0200
committernotaz2012-11-24 04:25:25 +0200
commit448bbcae9cc8f72f2e1d893c6ae8e071ca2b7aa9 (patch)
tree9dafbc2042502e0fdbcce7750d46f3e126166f05 /libpcsxcore/new_dynarec/emu_if.c
parentddd99692bc3e1246c2ccb5e551512f35b4f7959a (diff)
downloadpcsx_rearmed-448bbcae9cc8f72f2e1d893c6ae8e071ca2b7aa9.tar.gz
pcsx_rearmed-448bbcae9cc8f72f2e1d893c6ae8e071ca2b7aa9.tar.bz2
pcsx_rearmed-448bbcae9cc8f72f2e1d893c6ae8e071ca2b7aa9.zip
fix ARM build with --disable-dynarec
Diffstat (limited to 'libpcsxcore/new_dynarec/emu_if.c')
-rw-r--r--libpcsxcore/new_dynarec/emu_if.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/libpcsxcore/new_dynarec/emu_if.c b/libpcsxcore/new_dynarec/emu_if.c
index 85ec174..588bc63 100644
--- a/libpcsxcore/new_dynarec/emu_if.c
+++ b/libpcsxcore/new_dynarec/emu_if.c
@@ -299,7 +299,6 @@ static void ari64_reset()
pending_exception = 1;
}
-#ifdef __arm__
// execute until predefined leave points
// (HLE softcall exit and BIOS fastboot end)
static void ari64_execute_until()
@@ -322,7 +321,6 @@ static void ari64_execute()
evprintf("drc left @%08x\n", psxRegs.pc);
}
}
-#endif
static void ari64_clear(u32 addr, u32 size)
{
@@ -360,7 +358,7 @@ extern void intExecuteBlockT();
R3000Acpu psxRec = {
ari64_init,
ari64_reset,
-#if defined(__arm__)
+#ifndef DRC_DISABLE
ari64_execute,
ari64_execute_until,
#else
@@ -377,7 +375,7 @@ void do_insn_trace() {}
void do_insn_cmp() {}
#endif
-#if defined(__x86_64__) || defined(__i386__)
+#ifdef DRC_DISABLE
unsigned int address;
int pending_exception, stop;
unsigned int next_interupt;
@@ -387,7 +385,7 @@ int new_dynarec_hacks;
void *psxH_ptr;
void *zeromem_ptr;
u8 zero_mem[0x1000];
-void new_dynarec_init() {}
+void new_dynarec_init() { (void)ari64_execute; }
void new_dyna_start() {}
void new_dynarec_cleanup() {}
void new_dynarec_clear_full() {}