From cf98d473a9ddaa6a77bed1cb5af706a4cd50b8b0 Mon Sep 17 00:00:00 2001 From: Alexander Mikhaylenko Date: Sun, 26 Apr 2020 21:34:20 +0500 Subject: Automatically disable lightrec when no bios is present Fixes https://github.com/libretro/pcsx_rearmed/issues/404 --- frontend/libretro.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/libretro.c b/frontend/libretro.c index bd7dc43..2a175cc 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; -- cgit v1.2.3