romfs: fix extraction of single-directory root

This commit is contained in:
Liam 2023-10-31 20:11:14 -04:00
parent c60204e255
commit b0c6bf497a
4 changed files with 18 additions and 40 deletions

View file

@ -2737,7 +2737,7 @@ void GMainWindow::OnGameListDumpRomFS(u64 program_id, const std::string& game_pa
return;
}
const auto extracted = FileSys::ExtractRomFS(romfs, FileSys::RomFSExtractionType::Full);
const auto extracted = FileSys::ExtractRomFS(romfs);
if (extracted == nullptr) {
failed();
return;