mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-26 19:58:36 +01:00
Reserve some space in the checkpoints vector
This commit is contained in:
1 parent
f954013d0b
commit
c7041d6e97
2 files changed
+6
-4
No files matched your search
@@ -35,7 +35,7 @@ static constexpr SerializeCompressType SAVE_TYPE = SerializeCompressType::ZSTD;
|
||||
|
||||
void PointerWrap::RewindForWrite(u8 *writePtr) {
|
||||
_assert_(mode == MODE_MEASURE);
|
||||
// Switch to writing mode and
|
||||
// Switch to writing mode, save the size for later checking and start again.
|
||||
measuredSize_ = Offset();
|
||||
mode = MODE_WRITE;
|
||||
*ptr = writePtr;
|
||||
|
||||
Reference in new issue
Block a user