mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
DolphinWX: ParseHotkeys() should use the State::NUM_STATES constant instead of a hardcoded 10.
This commit is contained in:
@ -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);
|
||||||
|
Reference in New Issue
Block a user