From 55676e4bb755cbc54c570867f57be693e049debc Mon Sep 17 00:00:00 2001 From: adelikat Date: Mon, 6 Apr 2009 23:51:28 +0000 Subject: [PATCH] Fix bug in HK_StateSetSlot() --- desmume/src/windows/hotkey.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }