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

@ -429,10 +429,6 @@ VirtualFile PatchManager::PatchRomFS(const NCA* base_nca, VirtualFile base_romfs
LOG_DEBUG(Loader, "{}", log_string);
}
if (base_romfs == nullptr) {
return base_romfs;
}
auto romfs = base_romfs;
// Game Updates