mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-10 21:52:42 +00:00
fix override unloading on close content
This commit is contained in:
parent
4389008be6
commit
a49ef997de
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user