aboutsummaryrefslogtreecommitdiff
path: root/frontend/libretro.c
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/libretro.c')
-rw-r--r--frontend/libretro.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/frontend/libretro.c b/frontend/libretro.c
index 7243db1..d834579 100644
--- a/frontend/libretro.c
+++ b/frontend/libretro.c
@@ -1330,6 +1330,11 @@ void retro_init(void)
psxUnmapHook = pl_3ds_munmap;
#endif
ret = emu_core_preinit();
+#ifdef _3DS
+ /* emu_core_preinit sets the cpu to dynarec */
+ if(!ctr_svchack_init_success)
+ Config.Cpu = CPU_INTERPRETER;
+#endif
ret |= emu_core_init();
if (ret != 0) {
SysPrintf("PCSX init failed.\n");