summaryrefslogtreecommitdiffstats
path: root/src/save
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-21 22:11:36 +0100
committerSergeanur <s.anureev@yandex.ua>2021-01-21 22:11:36 +0100
commite8db0e3abb52c465d842133c09ea320a820e3121 (patch)
treecf5a011373899891c6a191f024839a29d018d8fb /src/save
parentMore fonts (diff)
parentMerge remote-tracking branch 'origin/miami' into lcs (diff)
downloadre3-e8db0e3abb52c465d842133c09ea320a820e3121.tar
re3-e8db0e3abb52c465d842133c09ea320a820e3121.tar.gz
re3-e8db0e3abb52c465d842133c09ea320a820e3121.tar.bz2
re3-e8db0e3abb52c465d842133c09ea320a820e3121.tar.lz
re3-e8db0e3abb52c465d842133c09ea320a820e3121.tar.xz
re3-e8db0e3abb52c465d842133c09ea320a820e3121.tar.zst
re3-e8db0e3abb52c465d842133c09ea320a820e3121.zip
Diffstat (limited to 'src/save')
-rw-r--r--src/save/GenericGameStorage.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/save/GenericGameStorage.cpp b/src/save/GenericGameStorage.cpp
index 82f66308..b0cf1d98 100644
--- a/src/save/GenericGameStorage.cpp
+++ b/src/save/GenericGameStorage.cpp
@@ -326,6 +326,11 @@ GenericLoad()
ReadDataFromBufferPointer(buf, CWeather::OldWeatherType);
ReadDataFromBufferPointer(buf, CWeather::NewWeatherType);
ReadDataFromBufferPointer(buf, CWeather::ForcedWeatherType);
+#ifdef SECUROM
+ if (CTimer::m_FrameCounter > 72000){
+ buf += align4bytes(4);
+ }
+#endif
ReadDataFromBufferPointer(buf, CWeather::InterpolationValue);
ReadDataFromBufferPointer(buf, CWeather::WeatherTypeInList);
#ifdef COMPATIBLE_SAVES