mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 06:10:03 -06:00
Fix some compiler warnings
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user