aboutsummaryrefslogtreecommitdiff
path: root/src/DSi.cpp
diff options
context:
space:
mode:
authorArisotura <thetotalworm@gmail.com>2021-11-17 20:42:11 +0100
committerArisotura <thetotalworm@gmail.com>2021-11-17 20:42:11 +0100
commit5bb8f4c9226ec5967bb3a994a37d38435a44223e (patch)
treed7f7de13a433a3b132e1d9f39df582954187b460 /src/DSi.cpp
parent69715043cad65db6e5adb252746f9ec4c1f61087 (diff)
* remove more Config dependencies from the core
* also use less shitty strings
Diffstat (limited to 'src/DSi.cpp')
-rw-r--r--src/DSi.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/DSi.cpp b/src/DSi.cpp
index 7560578..88f0265 100644
--- a/src/DSi.cpp
+++ b/src/DSi.cpp
@@ -19,7 +19,6 @@
#include <stdio.h>
#include <string.h>
#include <inttypes.h>
-#include "Config.h"
#include "NDS.h"
#include "DSi.h"
#include "ARM.h"
@@ -605,7 +604,7 @@ bool LoadBIOS()
memset(ARM9iBIOS, 0, 0x10000);
memset(ARM7iBIOS, 0, 0x10000);
- f = Platform::OpenLocalFile(Config::DSiBIOS9Path, "rb");
+ f = Platform::OpenLocalFile(Platform::GetConfigString(Platform::DSi_BIOS9Path), "rb");
if (!f)
{
printf("ARM9i BIOS not found\n");
@@ -622,7 +621,7 @@ bool LoadBIOS()
fclose(f);
}
- f = Platform::OpenLocalFile(Config::DSiBIOS7Path, "rb");
+ f = Platform::OpenLocalFile(Platform::GetConfigString(Platform::DSi_BIOS7Path), "rb");
if (!f)
{
printf("ARM7i BIOS not found\n");