aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/Util_ROM.cpp
diff options
context:
space:
mode:
authorAdrian Siekierka <kontakt@asie.pl>2021-10-02 12:06:22 +0200
committerGitHub <noreply@github.com>2021-10-02 12:06:22 +0200
commitb7992cc084dbf0c3f879797d3a879999bb6f0591 (patch)
tree8636926c8b951c10b8bd5e3258649ff7637c14bf /src/frontend/Util_ROM.cpp
parent243077722b4c292c424de680c13eacf9296fe552 (diff)
Fallback to FreeBIOS when BIOS files are not found. (v2) (#1174)
* Fallback to FreeBIOS when BIOS files are not found. * Add sources of drastic bios files. * Move FreeBIOS/external BIOS choice to configuration option/checkbox. * Fix indentation Co-authored-by: Filippo Scognamiglio <flscogna@gmail.com> Co-authored-by: Filippo Scognamiglio <filippo.scognamiglio@felgo.com>
Diffstat (limited to 'src/frontend/Util_ROM.cpp')
-rw-r--r--src/frontend/Util_ROM.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/frontend/Util_ROM.cpp b/src/frontend/Util_ROM.cpp
index 19023fb..4d55299 100644
--- a/src/frontend/Util_ROM.cpp
+++ b/src/frontend/Util_ROM.cpp
@@ -92,6 +92,8 @@ int VerifyDSBIOS()
FILE* f;
long len;
+ if (!Config::ExternalBIOSEnable) return Load_OK;
+
f = Platform::OpenLocalFile(Config::BIOS9Path, "rb");
if (!f) return Load_BIOS9Missing;