summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/FrameTools.cpp
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2015-07-12 04:04:35 +0200
committerAdmiral H. Curtiss <pikachu025@gmail.com>2015-10-10 22:20:05 +0200
commit429f4ea158236174a4c0892b034c2b336ff8c0ee (patch)
treec845e65ada099394abc791dc138fe09f09bbf8c6 /Source/Core/DolphinWX/FrameTools.cpp
parent16272f49750699a06937defea5d7ee140eed1ac1 (diff)
SaveState/DolphinWX: Display time and date of savestate next to the load/save/select slot menu options.
Diffstat (limited to 'Source/Core/DolphinWX/FrameTools.cpp')
-rw-r--r--Source/Core/DolphinWX/FrameTools.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/Source/Core/DolphinWX/FrameTools.cpp b/Source/Core/DolphinWX/FrameTools.cpp
index a74ce4645f..d5e80860c5 100644
--- a/Source/Core/DolphinWX/FrameTools.cpp
+++ b/Source/Core/DolphinWX/FrameTools.cpp
@@ -462,8 +462,8 @@ wxString CFrame::GetMenuLabel(int Id)
case HK_LOAD_STATE_SLOT_8:
case HK_LOAD_STATE_SLOT_9:
case HK_LOAD_STATE_SLOT_10:
- Label = wxString::Format(_("Slot %i"),
- Id - HK_LOAD_STATE_SLOT_1 + 1);
+ Label = wxString::Format(_("Slot %i - %s"),
+ Id - HK_LOAD_STATE_SLOT_1 + 1, State::GetInfoStringOfSlot(Id - HK_LOAD_STATE_SLOT_1 + 1).c_str());
break;
case HK_SAVE_STATE_SLOT_1:
@@ -476,8 +476,8 @@ wxString CFrame::GetMenuLabel(int Id)
case HK_SAVE_STATE_SLOT_8:
case HK_SAVE_STATE_SLOT_9:
case HK_SAVE_STATE_SLOT_10:
- Label = wxString::Format(_("Slot %i"),
- Id - HK_SAVE_STATE_SLOT_1 + 1);
+ Label = wxString::Format(_("Slot %i - %s"),
+ Id - HK_SAVE_STATE_SLOT_1 + 1, State::GetInfoStringOfSlot(Id - HK_SAVE_STATE_SLOT_1 + 1).c_str());
break;
case HK_SAVE_STATE_FILE:
Label = _("Save State...");
@@ -522,7 +522,8 @@ wxString CFrame::GetMenuLabel(int Id)
case HK_SELECT_STATE_SLOT_8:
case HK_SELECT_STATE_SLOT_9:
case HK_SELECT_STATE_SLOT_10:
- Label = wxString::Format(_("Select Slot %i"), Id - HK_SELECT_STATE_SLOT_1 + 1);
+ Label = wxString::Format(_("Select Slot %i - %s"),
+ Id - HK_SELECT_STATE_SLOT_1 + 1, State::GetInfoStringOfSlot(Id - HK_SELECT_STATE_SLOT_1 + 1).c_str());
break;