Win32 - RamWatch and RamSearch update values when Load As is selected
This commit is contained in:
parent
871f7b3aee
commit
f085acf680
|
@ -131,8 +131,8 @@ void HK_StateLoadSlot(int num)
|
|||
lastSaveState = num; //Set last savestate used
|
||||
SaveStateMessages(num, 1); //Display state loaded message
|
||||
|
||||
Update_RAM_Watch();
|
||||
Update_RAM_Search();
|
||||
Update_RAM_Watch(); //adelikat: TODO this should be a single function call in main, that way we can expand as future dialogs need updating
|
||||
Update_RAM_Search(); //main.cpp - case IDM_STATE_LOAD: also calls these functions
|
||||
|
||||
if(!wasPaused)
|
||||
NDS_UnPause();
|
||||
|
|
|
@ -2845,6 +2845,8 @@ LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM
|
|||
}
|
||||
|
||||
savestate_load(SavName);
|
||||
Update_RAM_Watch(); //adelikat: TODO this should be a single function call in main, that way we can expand as future dialogs need updating
|
||||
Update_RAM_Search(); //hotkey.cpp - HK_StateLoadSlot also calls these functions
|
||||
NDS_UnPause();
|
||||
}
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue