diff options
author | 2021-03-12 01:15:08 +1100 | |
---|---|---|
committer | 2021-03-12 01:15:08 +1100 | |
commit | 4cf96da22c09651c1da2b27ee61028d558e7af49 (patch) | |
tree | 4482cdc706be33b29d050fb8b0f84c457ba20ba9 /src/frontend/mame/ui/inputmap.cpp | |
parent | b38a77bca54c007f995b9bb47687354d154b6be5 (diff) |
-A few incremental UI code improvements:
* Simplified message when toggling UI controls.
* Show actual configured UI toggle key, not misleading hard-coded text.
* Push window activated/deactivated events to UI manager.
* Simplified SDL window event handling code - events are pretty precise.
-Miscellaneous code cleanup.
Diffstat (limited to 'src/frontend/mame/ui/inputmap.cpp')
-rw-r--r-- | src/frontend/mame/ui/inputmap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/mame/ui/inputmap.cpp b/src/frontend/mame/ui/inputmap.cpp index 72e93216943..a4638e76536 100644 --- a/src/frontend/mame/ui/inputmap.cpp +++ b/src/frontend/mame/ui/inputmap.cpp @@ -38,7 +38,7 @@ void menu_input_groups::populate(float &customtop, float &custombottom) item_append(_("User Interface"), 0, (void *)uintptr_t(IPG_UI + 1)); for (int player = 0; player < MAX_PLAYERS; player++) { - auto s = string_format("Player %d Controls", player + 1); + auto s = string_format(_("Player %1$d Controls"), player + 1); item_append(s, 0, (void *)uintptr_t(IPG_PLAYER1 + player + 1)); } item_append(_("Other Controls"), 0, (void *)uintptr_t(IPG_OTHER + 1)); |