mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
fix osd message
This commit is contained in:
parent
7fb9ec5223
commit
04fc5d042f
1 changed files with 3 additions and 1 deletions
|
@ -1526,9 +1526,11 @@ static void command_event_load_state(const char *path, char *s, size_t len, bool
|
|||
if (settings->state_slot < 0)
|
||||
snprintf(s, len, "%s #-1 (auto).",
|
||||
msg_hash_to_str(MSG_LOADED_STATE_FROM_SLOT));
|
||||
else
|
||||
else if (!undo)
|
||||
snprintf(s, len, "%s #%d.", msg_hash_to_str(MSG_LOADED_STATE_FROM_SLOT),
|
||||
settings->state_slot);
|
||||
else
|
||||
snprintf(s, len, "%s #-1 (undo).", msg_hash_to_str(MSG_LOADED_STATE_FROM_SLOT));
|
||||
}
|
||||
|
||||
static void command_event_main_state(unsigned cmd)
|
||||
|
|
Loading…
Add table
Reference in a new issue