FIx MSVC builds
This commit is contained in:
parent
1c6602e35d
commit
ca0bd95c0a
|
@ -1899,9 +1899,10 @@ bool command_event(enum event_command cmd, void *data)
|
||||||
break;
|
break;
|
||||||
case CMD_EVENT_LOAD_CORE:
|
case CMD_EVENT_LOAD_CORE:
|
||||||
{
|
{
|
||||||
|
bool success = false;
|
||||||
subsystem_size = 0;
|
subsystem_size = 0;
|
||||||
content_clear_subsystem();
|
content_clear_subsystem();
|
||||||
bool success = command_event(CMD_EVENT_LOAD_CORE_PERSIST, NULL);
|
success = command_event(CMD_EVENT_LOAD_CORE_PERSIST, NULL);
|
||||||
(void)success;
|
(void)success;
|
||||||
|
|
||||||
#ifndef HAVE_DYNAMIC
|
#ifndef HAVE_DYNAMIC
|
||||||
|
|
|
@ -185,6 +185,7 @@ static bool environ_cb_get_system_info(unsigned cmd, void *data)
|
||||||
case RETRO_ENVIRONMENT_SET_SUBSYSTEM_INFO:
|
case RETRO_ENVIRONMENT_SET_SUBSYSTEM_INFO:
|
||||||
{
|
{
|
||||||
unsigned i, j;
|
unsigned i, j;
|
||||||
|
unsigned size = i;
|
||||||
const struct retro_subsystem_info *info =
|
const struct retro_subsystem_info *info =
|
||||||
(const struct retro_subsystem_info*)data;
|
(const struct retro_subsystem_info*)data;
|
||||||
subsystem_size = 0;
|
subsystem_size = 0;
|
||||||
|
@ -206,7 +207,6 @@ static bool environ_cb_get_system_info(unsigned cmd, void *data)
|
||||||
}
|
}
|
||||||
|
|
||||||
RARCH_LOG("Subsystems: %d\n", i);
|
RARCH_LOG("Subsystems: %d\n", i);
|
||||||
unsigned size = i;
|
|
||||||
|
|
||||||
if (system)
|
if (system)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue