From b3471e0abce3b407654a2398c55c8a8c7567ab3e Mon Sep 17 00:00:00 2001 From: "Admiral H. Curtiss" Date: Sun, 12 Jul 2015 04:09:23 +0200 Subject: [PATCH] DolphinWX: Add options to Load Last Slot 9/10 to menu. --- Source/Core/DolphinWX/Frame.cpp | 2 +- Source/Core/DolphinWX/FrameTools.cpp | 2 ++ Source/Core/DolphinWX/Globals.h | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Source/Core/DolphinWX/Frame.cpp b/Source/Core/DolphinWX/Frame.cpp index 759c2bdc6e..dc4c3e6808 100644 --- a/Source/Core/DolphinWX/Frame.cpp +++ b/Source/Core/DolphinWX/Frame.cpp @@ -308,7 +308,7 @@ EVT_MENU(IDM_SAVE_SELECTED_SLOT, CFrame::OnSaveCurrentSlot) EVT_MENU(IDM_LOAD_SELECTED_SLOT, CFrame::OnLoadCurrentSlot) EVT_MENU_RANGE(IDM_LOAD_SLOT_1, IDM_LOAD_SLOT_10, CFrame::OnLoadState) -EVT_MENU_RANGE(IDM_LOAD_LAST_1, IDM_LOAD_LAST_8, CFrame::OnLoadLastState) +EVT_MENU_RANGE(IDM_LOAD_LAST_1, IDM_LOAD_LAST_10, CFrame::OnLoadLastState) EVT_MENU_RANGE(IDM_SAVE_SLOT_1, IDM_SAVE_SLOT_10, CFrame::OnSaveState) EVT_MENU_RANGE(IDM_SELECT_SLOT_1, IDM_SELECT_SLOT_10, CFrame::OnSelectSlot) EVT_MENU_RANGE(IDM_FRAME_SKIP_0, IDM_FRAME_SKIP_9, CFrame::OnFrameSkip) diff --git a/Source/Core/DolphinWX/FrameTools.cpp b/Source/Core/DolphinWX/FrameTools.cpp index ee726e79af..c7074df4c3 100644 --- a/Source/Core/DolphinWX/FrameTools.cpp +++ b/Source/Core/DolphinWX/FrameTools.cpp @@ -489,6 +489,8 @@ wxString CFrame::GetMenuLabel(int Id) case HK_LOAD_LAST_STATE_6: case HK_LOAD_LAST_STATE_7: case HK_LOAD_LAST_STATE_8: + case HK_LOAD_LAST_STATE_9: + case HK_LOAD_LAST_STATE_10: Label = wxString::Format(_("Last %i"), Id - HK_LOAD_LAST_STATE_1 + 1); break; diff --git a/Source/Core/DolphinWX/Globals.h b/Source/Core/DolphinWX/Globals.h index 2b327b0fad..eb96117ecc 100644 --- a/Source/Core/DolphinWX/Globals.h +++ b/Source/Core/DolphinWX/Globals.h @@ -60,6 +60,8 @@ enum IDM_LOAD_LAST_6, IDM_LOAD_LAST_7, IDM_LOAD_LAST_8, + IDM_LOAD_LAST_9, + IDM_LOAD_LAST_10, IDM_SELECT_SLOT_1, IDM_SELECT_SLOT_2, IDM_SELECT_SLOT_3,