fix override unloading on close content

This commit is contained in:
radius 2016-05-20 02:21:15 -05:00
parent 4389008be6
commit a49ef997de

View File

@ -1714,6 +1714,12 @@ bool command_event(enum event_command cmd, void *data)
return false;
break;
case CMD_EVENT_UNLOAD_CORE:
/* auto overrides: reload the original config */
if (runloop_ctl(RUNLOOP_CTL_IS_OVERRIDES_ACTIVE, NULL))
{
config_unload_override();
runloop_ctl(RUNLOOP_CTL_UNSET_OVERRIDES_ACTIVE, NULL);
}
if (!rarch_task_push_content_load_default(
NULL, NULL,
&content_info,