mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-06-28 09:59:41 -06:00
remove remains of SDIOFile
This commit is contained in:
@ -79,8 +79,7 @@ DSi_NDMA* NDMAs[8];
|
|||||||
DSi_SDHost* SDMMC;
|
DSi_SDHost* SDMMC;
|
||||||
DSi_SDHost* SDIO;
|
DSi_SDHost* SDIO;
|
||||||
|
|
||||||
FILE* SDMMCFile;
|
FILE* SDMMCFile = nullptr;
|
||||||
FILE* SDIOFile;
|
|
||||||
|
|
||||||
u64 ConsoleID;
|
u64 ConsoleID;
|
||||||
u8 eMMC_CID[16];
|
u8 eMMC_CID[16];
|
||||||
@ -827,8 +826,6 @@ void CloseDSiNAND()
|
|||||||
{
|
{
|
||||||
if (DSi::SDMMCFile)
|
if (DSi::SDMMCFile)
|
||||||
fclose(DSi::SDMMCFile);
|
fclose(DSi::SDMMCFile);
|
||||||
if (DSi::SDIOFile)
|
|
||||||
fclose(DSi::SDIOFile);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void RunNDMAs(u32 cpu)
|
void RunNDMAs(u32 cpu)
|
||||||
|
@ -40,7 +40,6 @@ extern DSi_SDHost* SDMMC;
|
|||||||
extern DSi_SDHost* SDIO;
|
extern DSi_SDHost* SDIO;
|
||||||
|
|
||||||
extern FILE* SDMMCFile;
|
extern FILE* SDMMCFile;
|
||||||
extern FILE* SDIOFile;
|
|
||||||
|
|
||||||
const u32 NWRAMSize = 0x40000;
|
const u32 NWRAMSize = 0x40000;
|
||||||
|
|
||||||
|
@ -223,15 +223,6 @@ int SetupDSiNAND()
|
|||||||
|
|
||||||
DSi::SDMMCFile = f;
|
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;
|
return Load_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user