From 640b81a19fb3f083adb122568bde798867ddfac8 Mon Sep 17 00:00:00 2001 From: degasus Date: Tue, 9 Jun 2015 21:04:39 +0200 Subject: [PATCH] Hotkeys: Fix "Select State Slot" This was a copy&paste issue from dfc951fbbbc6021838f38da3d94396212a1bd60e. Fixes https://code.google.com/p/dolphin-emu/issues/detail?id=8645 --- Source/Core/DolphinWX/Frame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinWX/Frame.cpp b/Source/Core/DolphinWX/Frame.cpp index e541ace507..b41cdbb461 100644 --- a/Source/Core/DolphinWX/Frame.cpp +++ b/Source/Core/DolphinWX/Frame.cpp @@ -1462,7 +1462,7 @@ void CFrame::ParseHotkeys() if (IsHotkey(HK_SELECT_STATE_SLOT_1 + i)) { wxCommandEvent slot_event; - slot_event.SetId(i + IDM_SELECT_SLOT_1 - HK_SELECT_STATE_SLOT_1); + slot_event.SetId(IDM_SELECT_SLOT_1 + i); CFrame::OnSelectSlot(slot_event); } }