Fix use of RemoveDevice()

This commit is contained in:
Michael Theall 2016-01-18 19:34:12 -06:00
parent 722d91b73e
commit 07f0fe7e65
2 changed files with 2 additions and 2 deletions

View File

@ -224,7 +224,7 @@ Result romfsExit(void)
if (!romFS_active) return 0;
romFS_active = false;
RemoveDevice("romfs");
RemoveDevice("romfs:");
FSFILE_Close(romFS_file);
free(dirHashTable);
free(fileHashTable);

View File

@ -299,7 +299,7 @@ Result sdmcExit(void)
rc = FSUSER_CloseArchive(&sdmcArchive);
if(R_SUCCEEDED(rc))
{
RemoveDevice("sdmc");
RemoveDevice("sdmc:");
sdmcInitialised = false;
}