Cleanup
This commit is contained in:
parent
a1ed747a7f
commit
fec69828a9
|
@ -7285,10 +7285,9 @@ bool command_event(enum event_command cmd, void *data)
|
||||||
bool ai_service_pause = settings->bools.ai_service_pause;
|
bool ai_service_pause = settings->bools.ai_service_pause;
|
||||||
|
|
||||||
if (!settings->bools.ai_service_enable)
|
if (!settings->bools.ai_service_enable)
|
||||||
{
|
|
||||||
break;
|
break;
|
||||||
}
|
|
||||||
else if (ai_service_pause)
|
if (ai_service_pause)
|
||||||
{
|
{
|
||||||
/* pause on call, unpause on second press. */
|
/* pause on call, unpause on second press. */
|
||||||
if (!p_rarch->runloop_paused)
|
if (!p_rarch->runloop_paused)
|
||||||
|
@ -7405,7 +7404,7 @@ bool command_event(enum event_command cmd, void *data)
|
||||||
break;
|
break;
|
||||||
case CMD_EVENT_LOAD_CORE:
|
case CMD_EVENT_LOAD_CORE:
|
||||||
{
|
{
|
||||||
bool success = false;
|
bool success = false;
|
||||||
subsystem_current_count = 0;
|
subsystem_current_count = 0;
|
||||||
content_clear_subsystem();
|
content_clear_subsystem();
|
||||||
success = command_event(CMD_EVENT_LOAD_CORE_PERSIST, NULL);
|
success = command_event(CMD_EVENT_LOAD_CORE_PERSIST, NULL);
|
||||||
|
|
Loading…
Reference in New Issue