Skip to content

Commit

Permalink
DolphinWX: ParseHotkeys() should use the State::NUM_STATES constant i…
Browse files Browse the repository at this point in the history
…nstead of a hardcoded 10.
  • Loading branch information
AdmiralCurtiss committed Jul 12, 2015
1 parent 878629a commit 5c0033e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/DolphinWX/Frame.cpp
Expand Up @@ -1442,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);
Expand Down

0 comments on commit 5c0033e

Please sign in to comment.