mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 01:03:41 +01:00
GE Debugger: Allow setting secondary values.
This makes it convenient to update the bufw of textures or similar.
This commit is contained in:
1 parent
1bb1f34af0
commit
9f434fa14d
2 files changed
+62
-9
No files matched your search
@@ -110,10 +110,18 @@ bool InputBox_GetWString(HINSTANCE hInst, HWND hParent, const wchar_t *title, co
|
||||
|
||||
bool InputBox_GetHex(HINSTANCE hInst, HWND hParent, const wchar_t* title, u32 defaultvalue, u32& outvalue)
|
||||
{
|
||||
const wchar_t *defaultTitle = L"Input value";
|
||||
wchar_t temp[256];
|
||||
wsprintf(temp, L"%08x", defaultvalue);
|
||||
textBoxContents = temp;
|
||||
|
||||
if (title && wcslen(title) <= 0)
|
||||
windowTitle = defaultTitle;
|
||||
else if (title && wcslen(title) < 255)
|
||||
windowTitle = title;
|
||||
else
|
||||
windowTitle = defaultTitle;
|
||||
|
||||
INT_PTR value = DialogBox(hInst, (LPCWSTR)IDD_INPUTBOX, hParent, InputBoxFunc);
|
||||
|
||||
if (value == IDOK)
|
||||
|
||||
Reference in new issue
Block a user