diff options
| author | Scott Mansell <phiren@gmail.com> | 2015-11-08 02:20:56 +1300 |
|---|---|---|
| committer | Scott Mansell <phiren@gmail.com> | 2015-11-08 02:20:56 +1300 |
| commit | 973118511aab5e4a0724aaeae065048e8357e9e6 (patch) | |
| tree | 448324267d5d376bcaa347cdc6acf5905bf0f145 /Source/Core/DolphinWX/FrameTools.cpp | |
| parent | bdbe8e3691527b37338649c7992b6c15d71386df (diff) | |
| parent | 1772eeb32f2594e57895c4655638638c4e6ab11f (diff) | |
Merge pull request #2742 from AdmiralCurtiss/display-savestate-stats
Display Savestate information in Overlay and Menu.
Diffstat (limited to 'Source/Core/DolphinWX/FrameTools.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/FrameTools.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Source/Core/DolphinWX/FrameTools.cpp b/Source/Core/DolphinWX/FrameTools.cpp index 2e4c78ab1e..55b933cc63 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; @@ -1680,7 +1681,7 @@ void CFrame::OnFrameSkip(wxCommandEvent& event) void CFrame::OnSelectSlot(wxCommandEvent& event) { g_saveSlot = event.GetId() - IDM_SELECT_SLOT_1 + 1; - Core::DisplayMessage(StringFromFormat("Selected slot %d", g_saveSlot), 1000); + Core::DisplayMessage(StringFromFormat("Selected slot %d - %s", g_saveSlot, State::GetInfoStringOfSlot(g_saveSlot).c_str()), 2500); } void CFrame::OnLoadCurrentSlot(wxCommandEvent& event) |
