From 378592c4dbc0e2e2b75da0f49202969f82c0787a Mon Sep 17 00:00:00 2001 From: notaz Date: Sat, 10 Sep 2022 02:26:04 +0300 Subject: [PATCH] standalone: allow lightrec for testing lightrec is not (yet?) here, just to reduce diff from libretro fork --- frontend/menu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/menu.c b/frontend/menu.c index 341a429c..1c9ed6ab 100644 --- a/frontend/menu.c +++ b/frontend/menu.c @@ -1617,7 +1617,7 @@ static menu_entry e_menu_adv_options[] = mee_onoff_h ("Rootcounter hack", 0, Config.RCntFix, 1, h_cfg_rcnt1), #endif mee_onoff_h ("Rootcounter hack 2", 0, Config.VSyncWA, 1, h_cfg_rcnt2), -#ifndef DRC_DISABLE +#if !defined(DRC_DISABLE) || defined(LIGHTREC) mee_onoff_h ("Disable dynarec (slow!)",0, Config.Cpu, 1, h_cfg_nodrc), #endif mee_handler_h ("[Speed hacks]", menu_loop_speed_hacks, h_cfg_shacks), @@ -2633,7 +2633,7 @@ void menu_prepare_emu(void) plat_video_menu_leave(); - #ifndef DRC_DISABLE + #if !defined(DRC_DISABLE) || defined(LIGHTREC) psxCpu = (Config.Cpu == CPU_INTERPRETER) ? &psxInt : &psxRec; #else psxCpu = &psxInt; -- 2.39.5