aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorArisotura <thetotalworm@gmail.com>2021-11-21 16:05:48 +0100
committerArisotura <thetotalworm@gmail.com>2021-11-21 16:05:48 +0100
commit333b1247d9f42bd200f43f64cbe76daad52e779d (patch)
treedc95b451fa2c922c6d038010ba3118285bb821f0 /src
parent73d7bada873994ed9a1d89b27f647cfe549ca544 (diff)
remove remains of SDIOFile
Diffstat (limited to 'src')
-rw-r--r--src/DSi.cpp5
-rw-r--r--src/DSi.h1
-rw-r--r--src/frontend/Util_ROM.cpp9
3 files changed, 1 insertions, 14 deletions
diff --git a/src/DSi.cpp b/src/DSi.cpp
index 1150d74..692a700 100644
--- a/src/DSi.cpp
+++ b/src/DSi.cpp
@@ -79,8 +79,7 @@ DSi_NDMA* NDMAs[8];
DSi_SDHost* SDMMC;
DSi_SDHost* SDIO;
-FILE* SDMMCFile;
-FILE* SDIOFile;
+FILE* SDMMCFile = nullptr;
u64 ConsoleID;
u8 eMMC_CID[16];
@@ -827,8 +826,6 @@ void CloseDSiNAND()
{
if (DSi::SDMMCFile)
fclose(DSi::SDMMCFile);
- if (DSi::SDIOFile)
- fclose(DSi::SDIOFile);
}
void RunNDMAs(u32 cpu)
diff --git a/src/DSi.h b/src/DSi.h
index 187dc52..1236527 100644
--- a/src/DSi.h
+++ b/src/DSi.h
@@ -40,7 +40,6 @@ extern DSi_SDHost* SDMMC;
extern DSi_SDHost* SDIO;
extern FILE* SDMMCFile;
-extern FILE* SDIOFile;
const u32 NWRAMSize = 0x40000;
diff --git a/src/frontend/Util_ROM.cpp b/src/frontend/Util_ROM.cpp
index 2fb8dac..4d23c70 100644
--- a/src/frontend/Util_ROM.cpp
+++ b/src/frontend/Util_ROM.cpp
@@ -223,15 +223,6 @@ int SetupDSiNAND()
DSi::SDMMCFile = f;
- /*if (Config::DSiSDEnable)
- {
- f = Platform::OpenLocalFile(Config::DSiSDPath, "r+b");
- if (f)
- DSi::SDIOFile = f;
- else
- DSi::SDIOFile = Platform::OpenLocalFile(Config::DSiSDPath, "w+b");
- }*/
-
return Load_OK;
}