(MSVC) Compile fixes

This commit is contained in:
Swizzy
2015-01-04 16:57:59 +01:00
parent b10d6d4600
commit 88b79b82f4
2 changed files with 4 additions and 3 deletions

View File

@@ -289,7 +289,8 @@ void FCEUSS_Load_Mem(void)
uint8 header[16];
int stateversion;
int x;
memstream_read(mem, header, 16);
if (memcmp(header,"FCS",3) != 0)
@@ -300,7 +301,7 @@ void FCEUSS_Load_Mem(void)
else
stateversion = header[3] * 100;
int x = ReadStateChunks(mem, *(uint32*)(header + 4));
x = ReadStateChunks(mem, *(uint32*)(header + 4));
if (stateversion < 9500)
X.IRQlow=0;