diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-23 21:04:38 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-23 21:04:38 +0100 |
commit | d28e9a7b629fca3904336cd2d7ba74b925249fea (patch) | |
tree | c30c37726139bf7125d858f3c29e4090a2d6310e /src/save | |
parent | script fixes (diff) | |
parent | txd store (diff) | |
download | re3-d28e9a7b629fca3904336cd2d7ba74b925249fea.tar re3-d28e9a7b629fca3904336cd2d7ba74b925249fea.tar.gz re3-d28e9a7b629fca3904336cd2d7ba74b925249fea.tar.bz2 re3-d28e9a7b629fca3904336cd2d7ba74b925249fea.tar.lz re3-d28e9a7b629fca3904336cd2d7ba74b925249fea.tar.xz re3-d28e9a7b629fca3904336cd2d7ba74b925249fea.tar.zst re3-d28e9a7b629fca3904336cd2d7ba74b925249fea.zip |
Diffstat (limited to 'src/save')
-rw-r--r-- | src/save/GenericGameStorage.cpp | 4 | ||||
-rw-r--r-- | src/save/MemoryCard.cpp | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/save/GenericGameStorage.cpp b/src/save/GenericGameStorage.cpp index 44aace43..e0a989de 100644 --- a/src/save/GenericGameStorage.cpp +++ b/src/save/GenericGameStorage.cpp @@ -345,7 +345,11 @@ GenericLoad() #endif ReadDataFromBufferPointer(buf, CGame::currArea); ReadDataFromBufferPointer(buf, CVehicle::bAllTaxisHaveNitro); +#ifdef LOAD_INI_SETTINGS buf += align4bytes(sizeof(CPad::bInvertLook4Pad)); +#else + ReadDataFromBufferPointer(buf, CPad::bInvertLook4Pad); +#endif ReadDataFromBufferPointer(buf, CTimeCycle::m_ExtraColour); ReadDataFromBufferPointer(buf, CTimeCycle::m_bExtraColourOn); ReadDataFromBufferPointer(buf, CTimeCycle::m_ExtraColourInter); diff --git a/src/save/MemoryCard.cpp b/src/save/MemoryCard.cpp index c8ebcd86..d6e95d33 100644 --- a/src/save/MemoryCard.cpp +++ b/src/save/MemoryCard.cpp @@ -1,6 +1,7 @@ #define WITHWINDOWS #include "common.h" #ifdef PS2_MENU +#include "crossplatform.h" #include "MemoryCard.h" #include "main.h" #include "DMAudio.h" |