FIx MSVC builds

This commit is contained in:
twinaphex 2018-11-28 11:03:52 +01:00
parent 1c6602e35d
commit ca0bd95c0a
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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)
{ {