mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-04 18:42:15 +02:00
romfs_dev: fix unmounting/corruption when mounting multiple.
This commit is contained in:
parent
e114a361be
commit
8eee80b70f
@ -392,6 +392,7 @@ Result romfsMountCommon(const char *name, romfs_mount *mount)
|
|||||||
if(AddDevice(&mount->device) < 0)
|
if(AddDevice(&mount->device) < 0)
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
|
mount->setup = true;
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
fail:
|
fail:
|
||||||
|
Loading…
Reference in New Issue
Block a user