From c1d529ddda2fa17f1f59e3ed39606a392b3d9695 Mon Sep 17 00:00:00 2001 From: Pablo Curiel Date: Sat, 8 Jun 2019 05:37:18 -0400 Subject: [PATCH] Remove RomFS devoptab device on unmount. --- nx/source/runtime/devices/romfs_dev.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nx/source/runtime/devices/romfs_dev.c b/nx/source/runtime/devices/romfs_dev.c index cd9a5d92..b1779618 100644 --- a/nx/source/runtime/devices/romfs_dev.c +++ b/nx/source/runtime/devices/romfs_dev.c @@ -423,6 +423,9 @@ Result romfsUnmount(const char *name) if (mount == NULL) return -1; + // Remove device + RemoveDevice(name); + romfs_mountclose(mount); return 0;