Merge pull request #19579 from hrydgard/post-release-fixes

Add missing return statement from PBPReader::GetSubFileAsString.
This commit is contained in:
Henrik Rydgård authored and GitHub committed 2024-11-04 01:33:42 +01:00
commit ca94c0215f
2 files changed
+4

No files matched your search

+2
View File
@@ -57,6 +57,7 @@ include/glslang/build_info.h
# For ppsspp.ini, etc.
ppsspp.ini
imgui.ini
PPSSPPControls.dat
# Qt Linguist files
@@ -101,6 +102,7 @@ local.properties
r.sh
Windows/compileData*
Windows/*.ipch
Windows/imgui.ini
# For vim
*.swp
+2
View File
@@ -95,8 +95,10 @@ bool PBPReader::GetSubFileAsString(PBPSubFile file, std::string *out) const {
ERROR_LOG(Log::Loader, "PBP file read truncated: %d -> %d", (int)expected, (int)bytes);
if (bytes < expected) {
out->resize(bytes);
// should we still return true here?
}
}
return true;
}
PBPReader::~PBPReader() {