aboutsummaryrefslogtreecommitdiff
path: root/src/NDS.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/NDS.cpp')
-rw-r--r--src/NDS.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/NDS.cpp b/src/NDS.cpp
index 7f4cb2d..4ad7aa7 100644
--- a/src/NDS.cpp
+++ b/src/NDS.cpp
@@ -490,9 +490,9 @@ void Reset()
// DS BIOSes are always loaded, even in DSi mode
// we need them for DS-compatible mode
- if (Config::ExternalBIOSEnable)
+ if (Platform::GetConfigBool(Platform::ExternalBIOSEnable))
{
- f = Platform::OpenLocalFile(Config::BIOS9Path, "rb");
+ f = Platform::OpenLocalFile(Platform::GetConfigString(Platform::BIOS9Path), "rb");
if (!f)
{
printf("ARM9 BIOS not found\n");
@@ -509,7 +509,7 @@ void Reset()
fclose(f);
}
- f = Platform::OpenLocalFile(Config::BIOS7Path, "rb");
+ f = Platform::OpenLocalFile(Platform::GetConfigString(Platform::BIOS7Path), "rb");
if (!f)
{
printf("ARM7 BIOS not found\n");