mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
Add missing return statement from PBPReader::GetSubFileAsString. Compiler should have rejected this..
This commit is contained in:
parent
cbd19c967f
commit
cebb2ea96e
2
.gitignore
vendored
2
.gitignore
vendored
@ -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
|
||||
|
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user