Ram Search updates list when emulator is paused (on Power, or when resetting search)
This commit is contained in:
parent
5850d48823
commit
1de5077bcb
|
@ -1,4 +1,5 @@
|
||||||
-r**** - FCEUX 2.1.5 release
|
-r**** - FCEUX 2.1.5 release
|
||||||
|
30-Jul-2001 - mart0258 - Ram Search updates list when emulator is paused (on Power, or when resetting search)
|
||||||
4-Jul-2011 - FatRatKnight - Lua console now gets the proper file path when selecting a file from the recent menu.
|
4-Jul-2011 - FatRatKnight - Lua console now gets the proper file path when selecting a file from the recent menu.
|
||||||
1-jun-2011 - prg318 - sdl - print usage when --help is passed even if SDL fails
|
1-jun-2011 - prg318 - sdl - print usage when --help is passed even if SDL fails
|
||||||
plombo - added stock icons to menu items
|
plombo - added stock icons to menu items
|
||||||
|
|
|
@ -1780,11 +1780,13 @@ LRESULT CALLBACK RamSearchProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lPara
|
||||||
//ListView_SetItemCount(GetDlgItem(hDlg,IDC_RAMLIST),ResultCount);
|
//ListView_SetItemCount(GetDlgItem(hDlg,IDC_RAMLIST),ResultCount);
|
||||||
ListView_SetSelectionMark(GetDlgItem(hDlg,IDC_RAMLIST), 0);
|
ListView_SetSelectionMark(GetDlgItem(hDlg,IDC_RAMLIST), 0);
|
||||||
RefreshRamListSelectedCountControlStatus(hDlg);
|
RefreshRamListSelectedCountControlStatus(hDlg);
|
||||||
|
Update_RAM_Search();
|
||||||
{rv = true; break;}
|
{rv = true; break;}
|
||||||
}
|
}
|
||||||
case IDC_C_RESET_CHANGES:
|
case IDC_C_RESET_CHANGES:
|
||||||
memset(s_numChanges, 0, (sizeof(*s_numChanges)*(MAX_RAM_SIZE)));
|
memset(s_numChanges, 0, (sizeof(*s_numChanges)*(MAX_RAM_SIZE)));
|
||||||
ListView_Update(GetDlgItem(hDlg,IDC_RAMLIST), -1);
|
ListView_Update(GetDlgItem(hDlg,IDC_RAMLIST), -1);
|
||||||
|
Update_RAM_Search();
|
||||||
//SetRamSearchUndoType(hDlg, 0);
|
//SetRamSearchUndoType(hDlg, 0);
|
||||||
{rv = true; break;}
|
{rv = true; break;}
|
||||||
case IDC_C_UNDO:
|
case IDC_C_UNDO:
|
||||||
|
|
|
@ -808,6 +808,10 @@ void PowerNES(void)
|
||||||
// clear back baffer
|
// clear back baffer
|
||||||
extern uint8 *XBackBuf;
|
extern uint8 *XBackBuf;
|
||||||
memset(XBackBuf,0,256*256);
|
memset(XBackBuf,0,256*256);
|
||||||
|
|
||||||
|
#ifdef WIN32
|
||||||
|
Update_RAM_Search(); // Update_RAM_Watch() is also called.
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void FCEU_ResetVidSys(void)
|
void FCEU_ResetVidSys(void)
|
||||||
|
|
Loading…
Reference in New Issue