From 8fddf7f1ff60b6317405bad29f91eb40cfb58acc Mon Sep 17 00:00:00 2001 From: radius Date: Tue, 13 Sep 2016 00:37:23 -0500 Subject: [PATCH] prevent settings from propagating to main config when creating new overrides --- command.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/command.c b/command.c index ffbc37ef82..4e74e58e11 100644 --- a/command.c +++ b/command.c @@ -1639,6 +1639,10 @@ void command_event_save_current_config(int override_type) { snprintf(msg, sizeof(msg), "Overrides saved successfully"); RARCH_LOG("[overrides] %s\n", msg); + + /* set overrides to active so the original config can be + restored after closing content */ + runloop_ctl(RUNLOOP_CTL_SET_OVERRIDES_ACTIVE, NULL); } else {