devoptab: refactor all custom mounts to inherit from helper struct.

This commit is contained in:
ITotalJustice
2025-09-08 01:34:20 +01:00
parent 61b398a89a
commit 384e8794bf
16 changed files with 628 additions and 1318 deletions

View File

@@ -1322,7 +1322,7 @@ Result Menu::MountGcFs() {
R_TRY(devoptab::MountXciSource(source, m_storage_trimmed_size, e.lang_entry.name, root));
auto fs = std::make_shared<filebrowser::FsStdioWrapper>(root, [root](){
devoptab::UmountXci(root);
devoptab::UmountNeworkDevice(root);
});
filebrowser::MountFsHelper(fs, e.lang_entry.name);