diff options
author | Adrian Siekierka <kontakt@asie.pl> | 2021-10-02 12:06:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-02 12:06:22 +0200 |
commit | b7992cc084dbf0c3f879797d3a879999bb6f0591 (patch) | |
tree | 8636926c8b951c10b8bd5e3258649ff7637c14bf /src/frontend/Util_ROM.cpp | |
parent | 243077722b4c292c424de680c13eacf9296fe552 (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.cpp | 2 |
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; |