Fix use of RemoveDevice()
This commit is contained in:
parent
722d91b73e
commit
07f0fe7e65
@ -224,7 +224,7 @@ Result romfsExit(void)
|
|||||||
if (!romFS_active) return 0;
|
if (!romFS_active) return 0;
|
||||||
romFS_active = false;
|
romFS_active = false;
|
||||||
|
|
||||||
RemoveDevice("romfs");
|
RemoveDevice("romfs:");
|
||||||
FSFILE_Close(romFS_file);
|
FSFILE_Close(romFS_file);
|
||||||
free(dirHashTable);
|
free(dirHashTable);
|
||||||
free(fileHashTable);
|
free(fileHashTable);
|
||||||
|
@ -299,7 +299,7 @@ Result sdmcExit(void)
|
|||||||
rc = FSUSER_CloseArchive(&sdmcArchive);
|
rc = FSUSER_CloseArchive(&sdmcArchive);
|
||||||
if(R_SUCCEEDED(rc))
|
if(R_SUCCEEDED(rc))
|
||||||
{
|
{
|
||||||
RemoveDevice("sdmc");
|
RemoveDevice("sdmc:");
|
||||||
sdmcInitialised = false;
|
sdmcInitialised = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user