DolphinWX: ParseHotkeys() should use the State::NUM_STATES constant instead of a hardcoded 10.
This commit is contained in:
parent
878629a2bf
commit
5c0033e6d9
|
@ -1442,7 +1442,7 @@ void CFrame::ParseHotkeys()
|
||||||
VertexShaderManager::ResetView();
|
VertexShaderManager::ResetView();
|
||||||
|
|
||||||
// Savestates
|
// 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))
|
if (IsHotkey(HK_LOAD_STATE_SLOT_1 + i))
|
||||||
State::Load(1 + i);
|
State::Load(1 + i);
|
||||||
|
|
Loading…
Reference in New Issue