From e4d8473398b2023626542894340b060219497f5b Mon Sep 17 00:00:00 2001 From: aliaspider Date: Thu, 1 Oct 2015 02:24:56 +0100 Subject: (ctr/3ds) fix 3dsx build. --- frontend/libretro.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'frontend/libretro.c') 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"); -- cgit v1.2.3