mirror of
https://github.com/Dark98/threeSD.git
synced 2026-07-03 00:38:58 +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)
|
if (result != ResultStatus::Success)
|
||||||
return result;
|
return result;
|
||||||
|
|
||||||
if (!exefs_file->IsOpen())
|
if (!exefs_file || !exefs_file->IsOpen())
|
||||||
return ResultStatus::Error;
|
return ResultStatus::Error;
|
||||||
|
|
||||||
LOG_DEBUG(Service_FS, "{} sections:", kMaxSections);
|
LOG_DEBUG(Service_FS, "{} sections:", kMaxSections);
|
||||||
|
|||||||
Reference in New Issue
Block a user