aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhizzlekizzle2020-04-26 19:41:16 -0500
committerGitHub2020-04-26 19:41:16 -0500
commit30816bf4d53d63c80630a214fb8b7a13f30f22a4 (patch)
tree72cf13df25df91efc72756bae963d963fc8735b9
parentcab5a12e078d92cd5c0837ca1ecd0843b22c8fa0 (diff)
parentcf98d473a9ddaa6a77bed1cb5af706a4cd50b8b0 (diff)
downloadpcsx_rearmed-30816bf4d53d63c80630a214fb8b7a13f30f22a4.tar.gz
pcsx_rearmed-30816bf4d53d63c80630a214fb8b7a13f30f22a4.tar.bz2
pcsx_rearmed-30816bf4d53d63c80630a214fb8b7a13f30f22a4.zip
Merge pull request #407 from Exalm/wip/exalm/lightrec
Automatically disable lightrec when no bios is present
-rw-r--r--frontend/libretro.c2
1 files changed, 1 insertions, 1 deletions
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;