From 871f7b3aeec11599d5ea3b3bdc0119b881220b09 Mon Sep 17 00:00:00 2001 From: adelikat Date: Fri, 8 May 2009 12:43:06 +0000 Subject: [PATCH] win32 - ramwatch - now updates values on loadstate --- desmume/src/windows/hotkey.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/desmume/src/windows/hotkey.cpp b/desmume/src/windows/hotkey.cpp index 168aefac5..376a765b2 100644 --- a/desmume/src/windows/hotkey.cpp +++ b/desmume/src/windows/hotkey.cpp @@ -125,14 +125,15 @@ void HK_StateSaveSlot(int num) void HK_StateLoadSlot(int num) { - Update_RAM_Watch(); - Update_RAM_Search(); BOOL wasPaused = paused; NDS_Pause(); loadstate_slot(num); //Loadstate lastSaveState = num; //Set last savestate used SaveStateMessages(num, 1); //Display state loaded message + Update_RAM_Watch(); + Update_RAM_Search(); + if(!wasPaused) NDS_UnPause(); else