mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-04 10:32:15 +02:00
Remove RomFS devoptab device on unmount.
This commit is contained in:
parent
77f1d357e5
commit
c1d529ddda
@ -423,6 +423,9 @@ Result romfsUnmount(const char *name)
|
||||
if (mount == NULL)
|
||||
return -1;
|
||||
|
||||
// Remove device
|
||||
RemoveDevice(name);
|
||||
|
||||
romfs_mountclose(mount);
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user