diff options
Diffstat (limited to 'src/Savestate.cpp')
-rw-r--r-- | src/Savestate.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Savestate.cpp b/src/Savestate.cpp index 1af2694..1bfe937 100644 --- a/src/Savestate.cpp +++ b/src/Savestate.cpp @@ -134,7 +134,7 @@ Savestate::~Savestate() if (Saving) { - if (CurSection != -1) + if (CurSection != 0xFFFFFFFF) { u32 pos = (u32)ftell(file); fseek(file, CurSection+4, SEEK_SET); @@ -160,7 +160,7 @@ void Savestate::Section(const char* magic) if (Saving) { - if (CurSection != -1) + if (CurSection != 0xFFFFFFFF) { u32 pos = (u32)ftell(file); fseek(file, CurSection+4, SEEK_SET); |