sys_fs & VFS: Misc bug fixes

This commit is contained in:
brian218 2023-03-06 23:55:10 +08:00 committed by Megamouse
parent 842edbcbe7
commit 28c37ab465
4 changed files with 134 additions and 139 deletions

View file

@ -298,7 +298,8 @@ void Emulator::Init(bool add_only)
continue;
}
vfs::mount(key, usb_info.path);
if (fs::is_dir(usb_info.path))
vfs::mount(key, usb_info.path);
if (key == "/dev_usb000"sv)
{