mirror of
https://github.com/Dark98/threeSD.git
synced 2026-07-03 16:49:04 +00:00
Fixed a crash
This commit is contained in:
@@ -277,7 +277,7 @@ ResultStatus NCCHContainer::LoadSectionExeFS(const char* name, std::vector<u8>&
|
||||
if (result != ResultStatus::Success)
|
||||
return result;
|
||||
|
||||
if (!exefs_file->IsOpen())
|
||||
if (!exefs_file || !exefs_file->IsOpen())
|
||||
return ResultStatus::Error;
|
||||
|
||||
LOG_DEBUG(Service_FS, "{} sections:", kMaxSections);
|
||||
|
||||
Reference in New Issue
Block a user