mirror of
https://github.com/libretro/beetle-psx-libretro.git
synced 2024-11-23 08:49:47 +00:00
Silence some LGTM warnings
This commit is contained in:
parent
63bca35369
commit
19e0250e4e
@ -3033,12 +3033,12 @@ static bool shared_memorycards = false;
|
||||
static bool has_new_geometry = false;
|
||||
static bool has_new_timing = false;
|
||||
|
||||
extern void PSXDitherApply(bool);
|
||||
|
||||
static void check_variables(bool startup)
|
||||
{
|
||||
struct retro_variable var = {0};
|
||||
|
||||
extern void PSXDitherApply(bool);
|
||||
|
||||
#ifndef EMSCRIPTEN
|
||||
var.key = BEETLE_OPT(cd_access_method);
|
||||
if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var) && var.value)
|
||||
|
@ -293,10 +293,12 @@ int GTE_StateAction(StateMem *sm, int load, int data_only)
|
||||
};
|
||||
int ret = MDFNSS_StateAction(sm, load, data_only, StateRegs, "GTE");
|
||||
|
||||
#if 0
|
||||
if(load)
|
||||
{
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
return(ret);
|
||||
}
|
||||
|
@ -119,10 +119,12 @@ int SIO_StateAction(void *data, int load, int data_only)
|
||||
};
|
||||
int ret = MDFNSS_StateAction(data, load, data_only, StateRegs, "SIO");
|
||||
|
||||
#if 0
|
||||
if(load)
|
||||
{
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
return(ret);
|
||||
}
|
||||
|
@ -112,12 +112,6 @@ int32_t smem_seek(StateMem *st, uint32_t offset, int whence)
|
||||
return -1;
|
||||
}
|
||||
|
||||
if(st->loc < 0)
|
||||
{
|
||||
st->loc = 0;
|
||||
return -1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user