Skip to content

Commit

Permalink
refactor: Update file dialog text for save state operations
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
midwan committed Jan 8, 2025
1 parent 066aec4 commit 6b2d240
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/osdep/amiberry_gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand All @@ -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
Expand Down

0 comments on commit 6b2d240

Please sign in to comment.