mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-04 11:45:18 +02:00
rudimentary serch function added for the memory dialog
fixed the memory addressing bug in search the search box almost works search now works, however the strings in search window neeed a fix fixed the address display in search results search works fixed review comments, except .rc preadjust the button placement fixed rc
This commit is contained in:
committed by
Henrik Rydgård
parent
c739d4e164
commit
021e783b4a
@@ -108,10 +108,10 @@ bool InputBox_GetWString(HINSTANCE hInst, HWND hParent, const wchar_t *title, co
|
||||
return false;
|
||||
}
|
||||
|
||||
bool InputBox_GetHex(HINSTANCE hInst, HWND hParent, const wchar_t *title, u32 defaultvalue, u32 &outvalue)
|
||||
bool InputBox_GetHex(HINSTANCE hInst, HWND hParent, const wchar_t* title, u32 defaultvalue, u32& outvalue)
|
||||
{
|
||||
wchar_t temp[256];
|
||||
wsprintf(temp,L"%08x",defaultvalue);
|
||||
wsprintf(temp, L"%08x", defaultvalue);
|
||||
textBoxContents = temp;
|
||||
|
||||
INT_PTR value = DialogBox(hInst, (LPCWSTR)IDD_INPUTBOX, hParent, InputBoxFunc);
|
||||
@@ -124,9 +124,9 @@ bool InputBox_GetHex(HINSTANCE hInst, HWND hParent, const wchar_t *title, u32 de
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
else
|
||||
else
|
||||
{
|
||||
outvalue = 0;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user