summaryrefslogtreecommitdiffstats
path: root/src/save/GenericGameStorage.cpp
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2021-07-12 22:47:17 +0200
committerwithmorten <morten.with@gmail.com>2021-07-12 22:47:17 +0200
commit6c097398d15979253633a0c36a4500321473d84b (patch)
tree938c66c79642804855c09d80c7173e6691b99a20 /src/save/GenericGameStorage.cpp
parentVanilla config for Windows and win-x86 only (diff)
downloadre3-6c097398d15979253633a0c36a4500321473d84b.tar
re3-6c097398d15979253633a0c36a4500321473d84b.tar.gz
re3-6c097398d15979253633a0c36a4500321473d84b.tar.bz2
re3-6c097398d15979253633a0c36a4500321473d84b.tar.lz
re3-6c097398d15979253633a0c36a4500321473d84b.tar.xz
re3-6c097398d15979253633a0c36a4500321473d84b.tar.zst
re3-6c097398d15979253633a0c36a4500321473d84b.zip
Diffstat (limited to '')
-rw-r--r--src/save/GenericGameStorage.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/save/GenericGameStorage.cpp b/src/save/GenericGameStorage.cpp
index 12565e3f..d080512e 100644
--- a/src/save/GenericGameStorage.cpp
+++ b/src/save/GenericGameStorage.cpp
@@ -828,6 +828,13 @@ FixGarages(uint8 save_type, uint8 *buf, uint8 *buf2, uint32 *size)
SkipBuf(buf2, sizeof(CStoredCar));
}
+
+ *size = 0;
+
+ assert(buf - buf_start == read);
+ assert(buf2 - buf2_start == written);
+
+ *size = 7876;
}
static void