From: notaz Date: Fri, 9 Sep 2022 23:26:04 +0000 (+0300) Subject: standalone: allow lighrec for testing X-Git-Tag: r24l~394 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d9ca8d1727795ea2b31a56cdafe19bf4dc0055a;p=pcsx_rearmed.git standalone: allow lighrec for testing ./configure make DYNAREC=lightrec --- diff --git a/frontend/menu.c b/frontend/menu.c index 46c4aa19..449b60fa 100644 --- a/frontend/menu.c +++ b/frontend/menu.c @@ -1602,7 +1602,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), @@ -2618,7 +2618,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;