From 6b2d24047ebf827c0a192364e2ca91eb39ca17da Mon Sep 17 00:00:00 2001 From: Dimitris Panokostas Date: Wed, 8 Jan 2025 17:06:54 +0100 Subject: [PATCH] refactor: Update file dialog text for save state operations Modified the text in the file selection dialogs in `amiberry_gui.cpp`: - Changed "Select save state file" to "Load a save state file" for loading operations. - Changed "Select save state file" to "Save a save state file" for saving operations. These changes provide clearer instructions to the user. --- src/osdep/amiberry_gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/osdep/amiberry_gui.cpp b/src/osdep/amiberry_gui.cpp index 35079e0b..a0c8961c 100644 --- a/src/osdep/amiberry_gui.cpp +++ b/src/osdep/amiberry_gui.cpp @@ -818,7 +818,7 @@ void disk_selection(const int shortcut, uae_prefs* prefs) TCHAR tmp[MAX_DPATH]; get_savestate_path(tmp, sizeof tmp / sizeof(TCHAR)); - const std::string selected = SelectFile("Select save state file", tmp, statefile_filter); + const std::string selected = SelectFile("Load a save state file", tmp, statefile_filter); if (!selected.empty()) { _tcscpy(savestate_fname, selected.c_str()); @@ -835,7 +835,7 @@ void disk_selection(const int shortcut, uae_prefs* prefs) TCHAR tmp[MAX_DPATH]; get_savestate_path(tmp, sizeof tmp / sizeof(TCHAR)); - std::string selected = SelectFile("Select save state file", tmp, statefile_filter, true); + std::string selected = SelectFile("Save a save state file", tmp, statefile_filter, true); if (!selected.empty()) { // ensure the selected filename ends with .uss