(Qt) NES 2.0 header editor bugfix for input device

This commit is contained in:
Alexey 'Cluster' Avdyukhin 2021-08-05 20:09:06 +03:00
parent 2d5552c800
commit 06fab0fe57
1 changed files with 1 additions and 1 deletions

View File

@ -1170,7 +1170,7 @@ void iNesHeaderEditor_t::setHeaderData(iNES_HEADER* header)
}
// Input Device:
int input = header->reserved[1] & 0x1F;
int input = header->reserved[1] & 0x3F;
for (i=0; i<inputDevBox->count(); i++)
{
if ( inputDevBox->itemData(i).toInt() == input )