mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
Merge pull request #2740 from AdmiralCurtiss/last-slot-10-hotkeys
Forgot to add the Load Last Slot 9/10 hotkey to a switch in #2739.
This commit is contained in:
commit
b9182dec61
@ -988,6 +988,8 @@ int GetCmdForHotkey(unsigned int key)
|
||||
case HK_LOAD_LAST_STATE_6: return IDM_LOAD_LAST_6;
|
||||
case HK_LOAD_LAST_STATE_7: return IDM_LOAD_LAST_7;
|
||||
case HK_LOAD_LAST_STATE_8: return IDM_LOAD_LAST_8;
|
||||
case HK_LOAD_LAST_STATE_9: return IDM_LOAD_LAST_9;
|
||||
case HK_LOAD_LAST_STATE_10: return IDM_LOAD_LAST_10;
|
||||
|
||||
case HK_SAVE_FIRST_STATE: return IDM_SAVE_FIRST_STATE;
|
||||
case HK_UNDO_LOAD_STATE: return IDM_UNDO_LOAD_STATE;
|
||||
@ -1440,7 +1442,7 @@ void CFrame::ParseHotkeys()
|
||||
VertexShaderManager::ResetView();
|
||||
|
||||
// Savestates
|
||||
for (int i = 0; i < 10; i++)
|
||||
for (int i = 0; i < State::NUM_STATES; i++)
|
||||
{
|
||||
if (IsHotkey(HK_LOAD_STATE_SLOT_1 + i))
|
||||
State::Load(1 + i);
|
||||
|
Loading…
x
Reference in New Issue
Block a user