mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Debugger: Improve memory search result draw speed.
This commit is contained in:
parent
d583720f2b
commit
d1c642982b
2 changed files with 2 additions and 1 deletions
|
@ -121,6 +121,7 @@ void CMemoryDlg::searchBoxRedraw(std::vector<u32> results) {
|
|||
wchar_t temp[256]{};
|
||||
SendMessage(srcListHdl, WM_SETREDRAW, FALSE, 0);
|
||||
ListBox_ResetContent(srcListHdl);
|
||||
SendMessage(srcListHdl, LB_INITSTORAGE, (WPARAM)results.size(), (LPARAM)results.size() * 22);
|
||||
for (size_t i = 0; i < results.size(); i++) {
|
||||
wsprintf(temp, L"0x%08X", results[i]);
|
||||
int index = (int)ListBox_AddString(srcListHdl, temp);
|
||||
|
|
|
@ -310,7 +310,7 @@ BEGIN
|
|||
AUTOCHECKBOX "Show Offsets",IDC_SHOWOFFSETS,300,9,55,8
|
||||
COMBOBOX IDC_REGIONS,95,5,88,139,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
||||
|
||||
LISTBOX IDC_SEARCH_RESULTS,557,14,140,272,LBS_SORT | LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
|
||||
LISTBOX IDC_SEARCH_RESULTS,557,14,140,272,LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
|
||||
|
||||
EDITTEXT IDC_SEARCH_BOX,397,6,100,13,ES_AUTOHSCROLL
|
||||
PUSHBUTTON "Search",IDC_BUTTON_SEARCH,504,5,50,14
|
||||
|
|
Loading…
Add table
Reference in a new issue