file_sys: handle null romfs

This commit is contained in:
Liam 2023-12-01 23:39:48 -05:00
parent e9a43bae6f
commit 45b6161582
5 changed files with 17 additions and 21 deletions

View file

@ -2713,11 +2713,6 @@ void GMainWindow::OnGameListDumpRomFS(u64 program_id, const std::string& game_pa
}
const auto base_romfs = base_nca->GetRomFS();
if (!base_romfs) {
failed();
return;
}
const auto dump_dir =
target == DumpRomFSTarget::Normal
? Common::FS::GetYuzuPath(Common::FS::YuzuPath::DumpDir)