From: Alexander Mikhaylenko Date: Sun, 26 Apr 2020 16:34:20 +0000 (+0500) Subject: Automatically disable lightrec when no bios is present X-Git-Tag: r24l~651^2 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;ds=sidebyside;h=cf98d473a9ddaa6a77bed1cb5af706a4cd50b8b0;p=pcsx_rearmed.git Automatically disable lightrec when no bios is present Fixes https://github.com/libretro/pcsx_rearmed/issues/404 --- diff --git a/frontend/libretro.c b/frontend/libretro.c index bd7dc438..2a175cc0 100644 --- a/frontend/libretro.c +++ b/frontend/libretro.c @@ -1779,7 +1779,7 @@ static void update_variables(bool in_flight) Config.Cpu = CPU_INTERPRETER; else #endif - if (strcmp(var.value, "disabled") == 0) + if (strcmp(var.value, "disabled") == 0 || !found_bios) Config.Cpu = CPU_INTERPRETER; else if (strcmp(var.value, "enabled") == 0) Config.Cpu = CPU_DYNAREC;