diff options
author | withmorten <morten.with@gmail.com> | 2021-08-09 16:34:05 +0200 |
---|---|---|
committer | withmorten <morten.with@gmail.com> | 2021-08-09 16:34:05 +0200 |
commit | 858f913facb8ffbb3b4d50a9d65074a07973c711 (patch) | |
tree | 0f3dd33aa79ba0fa86998751bb6814443381ca64 | |
parent | Revert "small fix" (diff) | |
download | re3-858f913facb8ffbb3b4d50a9d65074a07973c711.tar re3-858f913facb8ffbb3b4d50a9d65074a07973c711.tar.gz re3-858f913facb8ffbb3b4d50a9d65074a07973c711.tar.bz2 re3-858f913facb8ffbb3b4d50a9d65074a07973c711.tar.lz re3-858f913facb8ffbb3b4d50a9d65074a07973c711.tar.xz re3-858f913facb8ffbb3b4d50a9d65074a07973c711.tar.zst re3-858f913facb8ffbb3b4d50a9d65074a07973c711.zip |
Diffstat (limited to '')
-rw-r--r-- | src/save/GenericGameStorage.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/save/GenericGameStorage.cpp b/src/save/GenericGameStorage.cpp index 798aeb7e..e4ee4542 100644 --- a/src/save/GenericGameStorage.cpp +++ b/src/save/GenericGameStorage.cpp @@ -1030,6 +1030,7 @@ FixSave(int32 slot, uint8 save_type) totalSize = 0; CFileMgr::Read(file_in, (const char *)&size, sizeof(size)); + size = align4bytes(size); buf = work_buff; CFileMgr::Read(file_in, (const char *)work_buff, size); // simple vars + scripts |