From: notaz Date: Fri, 9 Sep 2022 23:26:04 +0000 (+0300) Subject: standalone: allow lightrec for testing X-Git-Tag: r24~312 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=378592c4dbc0e2e2b75da0f49202969f82c0787a;p=pcsx_rearmed.git standalone: allow lightrec for testing lightrec is not (yet?) here, just to reduce diff from libretro fork --- 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;