summaryrefslogtreecommitdiff
path: root/libretro.c
diff options
context:
space:
mode:
authortwinaphex2014-12-10 17:27:18 +0100
committertwinaphex2014-12-10 17:27:18 +0100
commit82731290ee4e162fb040ee34337405e544e2e0ac (patch)
treefc298a3b65b27c26ce8c1eba55c641d663ef7476 /libretro.c
parent75cffe81f22426c10d5bd506efc0045b9c7e0867 (diff)
downloadpicogpsp-82731290ee4e162fb040ee34337405e544e2e0ac.tar.gz
picogpsp-82731290ee4e162fb040ee34337405e544e2e0ac.tar.bz2
picogpsp-82731290ee4e162fb040ee34337405e544e2e0ac.zip
We don't need to get rid of idle loop patching for non-dynarec
core
Diffstat (limited to 'libretro.c')
-rw-r--r--libretro.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libretro.c b/libretro.c
index c753f01..7f1e299 100644
--- a/libretro.c
+++ b/libretro.c
@@ -22,6 +22,11 @@ static cothread_t main_thread;
static cothread_t cpu_thread;
int dynarec_enable;
+u32 idle_loop_target_pc = 0xFFFFFFFF;
+u32 iwram_stack_optimize = 1;
+u32 translation_gate_target_pc[MAX_TRANSLATION_GATES];
+u32 translation_gate_targets = 0;
+
void switch_to_main_thread(void)
{
co_switch(main_thread);