This commit is contained in:
owomomo 2019-06-12 00:35:56 +08:00
parent 5b1805b3e4
commit 0dbcce537e
1 changed files with 1 additions and 1 deletions

View File

@ -794,7 +794,7 @@ void SetHeaderData(HWND hwnd, iNES_HEADER* header) {
int input = header->reserved[1] & 0x1F;
if (SendDlgItemMessage(hwnd, IDC_INPUT_DEVICE_COMBO, CB_SETCURSEL, input, 0) == CB_ERR)
{
sprintf(buf, "$%X", input);
sprintf(buf, "$%02X", input);
SetDlgItemText(hwnd, IDC_INPUT_DEVICE_COMBO, buf);
}