diff --git a/desmume/src/windows/hotkey.cpp b/desmume/src/windows/hotkey.cpp index a2ddd92f0..b5b492503 100644 --- a/desmume/src/windows/hotkey.cpp +++ b/desmume/src/windows/hotkey.cpp @@ -116,7 +116,7 @@ void HK_StateLoadSlot(int num) void HK_StateSetSlot(int num) { - lastSaveState = 0; + lastSaveState = num; SaveStateMessages(num,2); }