mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-26 06:35:43 +00:00
(ovr) add osd messages
This commit is contained in:
parent
671aa0f59c
commit
725e41b20b
13
command.c
13
command.c
@ -1614,6 +1614,19 @@ void command_event_save_current_config(int override_type)
|
||||
char msg[128] = {0};
|
||||
|
||||
ret = config_save_overrides(override_type);
|
||||
|
||||
if (ret)
|
||||
{
|
||||
snprintf(msg, sizeof(msg), "Overrides saved successfully");
|
||||
RARCH_LOG("[overrides] %s\n", msg);
|
||||
}
|
||||
else
|
||||
{
|
||||
snprintf(msg, sizeof(msg), "Error saving overrides");
|
||||
RARCH_ERR("[overrides] %s\n", msg);
|
||||
}
|
||||
|
||||
runloop_msg_queue_push(msg, 1, 180, true);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user