summaryrefslogtreecommitdiffstats
path: root/src/save
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2021-01-14 23:16:42 +0100
committerwithmorten <morten.with@gmail.com>2021-01-14 23:16:42 +0100
commitd5ce8b1ea3359ad5518e724e32a76ba32be1586b (patch)
treeb4e48a02501378e10008853e61379449c69c0a1d /src/save
parentincoming "fuck" commit (diff)
downloadre3-d5ce8b1ea3359ad5518e724e32a76ba32be1586b.tar
re3-d5ce8b1ea3359ad5518e724e32a76ba32be1586b.tar.gz
re3-d5ce8b1ea3359ad5518e724e32a76ba32be1586b.tar.bz2
re3-d5ce8b1ea3359ad5518e724e32a76ba32be1586b.tar.lz
re3-d5ce8b1ea3359ad5518e724e32a76ba32be1586b.tar.xz
re3-d5ce8b1ea3359ad5518e724e32a76ba32be1586b.tar.zst
re3-d5ce8b1ea3359ad5518e724e32a76ba32be1586b.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