win32 - ramwatch - now updates values on loadstate

This commit is contained in:
adelikat 2009-05-08 12:43:06 +00:00
parent f068dfda3b
commit 871f7b3aee
1 changed files with 3 additions and 2 deletions

View File

@ -125,14 +125,15 @@ void HK_StateSaveSlot(int num)
void HK_StateLoadSlot(int num) void HK_StateLoadSlot(int num)
{ {
Update_RAM_Watch();
Update_RAM_Search();
BOOL wasPaused = paused; BOOL wasPaused = paused;
NDS_Pause(); NDS_Pause();
loadstate_slot(num); //Loadstate loadstate_slot(num); //Loadstate
lastSaveState = num; //Set last savestate used lastSaveState = num; //Set last savestate used
SaveStateMessages(num, 1); //Display state loaded message SaveStateMessages(num, 1); //Display state loaded message
Update_RAM_Watch();
Update_RAM_Search();
if(!wasPaused) if(!wasPaused)
NDS_UnPause(); NDS_UnPause();
else else