file_sys: handle null romfs
This commit is contained in:
parent
7e94c3548d
commit
4321fc6154
1 changed files with 16 additions and 20 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue