Avoid some unnecessary error reporting while loading ISOs for the file browser

This commit is contained in:
Henrik Rydgård committed 2026-05-31 23:31:06 +02:00
1 parent 21e4677305
commit e9d5e451fb
3 files changed
+22 -10

No files matched your search

+5
View File
@@ -411,6 +411,11 @@ ISOContainerFileBlockDevice::ISOContainerFileBlockDevice(FileLoader *fileLoader)
SequentialHandleAllocator alloc;
ISOFileSystem iso(&alloc, outerBlockDevice_);
if (!iso.Error().empty()) {
errorString_ = iso.Error();
outerBlockDevice_.reset();
return;
}
PSPFileInfo layer0Info = iso.GetFileInfo("/USER_L0.IMG");
if (!layer0Info.exists) {