fix bug from 9767f79346
that made the cheat search results list produce strange cheats without 0x02xxxxxx prefix that don't work
This commit is contained in:
parent
ba83b68b7f
commit
f48aee928c
|
@ -1306,7 +1306,7 @@ INT_PTR CALLBACK CheatsSearchViewWnd(HWND dialog, UINT msg,WPARAM wparam,LPARAM
|
|||
while (cheatSearch->getList(&address, &val))
|
||||
{
|
||||
char buf[256];
|
||||
wsprintf(buf, "0x0%07X", address);
|
||||
wsprintf(buf, "0x02%06X", address);
|
||||
lvi.pszText= buf;
|
||||
u32 row = SendMessage(searchListView, LVM_INSERTITEM, 0, (LPARAM)&lvi);
|
||||
_ltoa(val, buf, 10);
|
||||
|
|
Loading…
Reference in New Issue