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
This commit is contained in:
degasus 2015-06-09 21:04:39 +02:00
parent e47e4c677a
commit 640b81a19f

View File

@ -1462,7 +1462,7 @@ void CFrame::ParseHotkeys()
if (IsHotkey(HK_SELECT_STATE_SLOT_1 + i)) if (IsHotkey(HK_SELECT_STATE_SLOT_1 + i))
{ {
wxCommandEvent slot_event; 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); CFrame::OnSelectSlot(slot_event);
} }
} }