Fix some compiler warnings

This commit is contained in:
WaluigiWare64
2021-05-03 13:36:21 +01:00
parent cc36f55b8c
commit 2ff065e5ea
17 changed files with 69 additions and 52 deletions

View File

@ -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);