mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-14 23:10:33 +02:00
Serialize: Report the first bad section, and start with no title
SetError overwrote the first bad section with whichever section a later error came from, and an error before any section read an uninitialized curTitle_. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
11e30e9456
commit
9140bc9548
2 files changed
+4
-2
No files matched your search
@@ -125,7 +125,9 @@ void PointerWrap::SetError(Error error_) {
|
||||
// and also not logspam like MEASURE will do in an error case.
|
||||
mode = PointerWrap::MODE_NOOP;
|
||||
// Also, remember the bad section.
|
||||
firstBadSectionTitle_ = curTitle_;
|
||||
if (!firstBadSectionTitle_) {
|
||||
firstBadSectionTitle_ = curTitle_;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user