diff options
author | withmorten <morten.with@gmail.com> | 2021-07-01 18:08:48 +0200 |
---|---|---|
committer | withmorten <morten.with@gmail.com> | 2021-07-01 18:08:48 +0200 |
commit | 2071abd2953cf4602844f22cc91ca68a96984611 (patch) | |
tree | c7717b7569d07ea114eb538cb79193dfd9618d3d /src/save | |
parent | Pause radio when game is paused (diff) | |
download | re3-2071abd2953cf4602844f22cc91ca68a96984611.tar re3-2071abd2953cf4602844f22cc91ca68a96984611.tar.gz re3-2071abd2953cf4602844f22cc91ca68a96984611.tar.bz2 re3-2071abd2953cf4602844f22cc91ca68a96984611.tar.lz re3-2071abd2953cf4602844f22cc91ca68a96984611.tar.xz re3-2071abd2953cf4602844f22cc91ca68a96984611.tar.zst re3-2071abd2953cf4602844f22cc91ca68a96984611.zip |
Diffstat (limited to '')
-rw-r--r-- | src/save/GenericGameStorage.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/save/GenericGameStorage.cpp b/src/save/GenericGameStorage.cpp index 29069ad5..23a8fd6a 100644 --- a/src/save/GenericGameStorage.cpp +++ b/src/save/GenericGameStorage.cpp @@ -220,6 +220,11 @@ GenericSave(int file) WriteSaveDataBlock(CStreaming::MemoryCardSave); WriteSaveDataBlock(CPedType::Save); + // sure just write garbage data repeatedly ... +#ifndef THIS_IS_STUPID + memset(work_buff, 0, sizeof(work_buff)); +#endif + // Write padding for (int i = 0; i < 4; i++) { size = align4bytes(SIZE_OF_ONE_GAME_IN_BYTES - totalSize - 4); |