NES 2.0 header editor bugfix for input device

This commit is contained in:
Alexey 'Cluster' Avdyukhin 2021-08-05 20:03:55 +03:00
parent 61661ff233
commit c9643cd0ab
1 changed files with 1 additions and 1 deletions

View File

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