(MSVC) Compile fixes
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -804,11 +804,11 @@ void retro_cheat_reset(void)
|
||||
void retro_cheat_set(unsigned index, bool enabled, const char *code)
|
||||
{
|
||||
char name[256];
|
||||
sprintf(name, "N/A");
|
||||
uint16 a;
|
||||
uint8 v;
|
||||
int c;
|
||||
int type = 1;
|
||||
sprintf(name, "N/A");
|
||||
|
||||
if (FCEUI_DecodeGG(code, &a, &v, &c))
|
||||
goto input_cheat;
|
||||
|
||||
Reference in New Issue
Block a user