diff --git a/Windows/Debugger/Debugger_MemoryDlg.cpp b/Windows/Debugger/Debugger_MemoryDlg.cpp index f9ce203232..d5358ab1bc 100644 --- a/Windows/Debugger/Debugger_MemoryDlg.cpp +++ b/Windows/Debugger/Debugger_MemoryDlg.cpp @@ -121,6 +121,7 @@ void CMemoryDlg::searchBoxRedraw(std::vector 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); diff --git a/Windows/ppsspp.rc b/Windows/ppsspp.rc index 2dc840f852..b306c1a7f5 100644 --- a/Windows/ppsspp.rc +++ b/Windows/ppsspp.rc @@ -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