aboutsummaryrefslogtreecommitdiff
path: root/src/Config.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/Config.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/Config.cpp')
-rw-r--r--src/Config.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Config.cpp b/src/Config.cpp
index 23ed265..9c5103a 100644
--- a/src/Config.cpp
+++ b/src/Config.cpp
@@ -28,6 +28,7 @@ namespace Config
const char* kConfigFile = "melonDS.ini";
+int ExternalBIOSEnable;
char BIOS9Path[1024];
char BIOS7Path[1024];
char FirmwarePath[1024];
@@ -54,9 +55,11 @@ int JIT_FastMemory = true;
ConfigEntry ConfigFile[] =
{
+ {"ExternalBIOSEnable", 0, &ExternalBIOSEnable, 0, NULL, 0},
{"BIOS9Path", 1, BIOS9Path, 0, "", 1023},
{"BIOS7Path", 1, BIOS7Path, 0, "", 1023},
{"FirmwarePath", 1, FirmwarePath, 0, "", 1023},
+
{"DLDIEnable", 0, &DLDIEnable, 0, NULL, 0},
{"DLDISDPath", 1, DLDISDPath, 0, "", 1023},