(Qt) NES 2.0 header editor bugfix for input device
This commit is contained in:
parent
2d5552c800
commit
06fab0fe57
|
@ -1170,7 +1170,7 @@ void iNesHeaderEditor_t::setHeaderData(iNES_HEADER* header)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Input Device:
|
// Input Device:
|
||||||
int input = header->reserved[1] & 0x1F;
|
int input = header->reserved[1] & 0x3F;
|
||||||
for (i=0; i<inputDevBox->count(); i++)
|
for (i=0; i<inputDevBox->count(); i++)
|
||||||
{
|
{
|
||||||
if ( inputDevBox->itemData(i).toInt() == input )
|
if ( inputDevBox->itemData(i).toInt() == input )
|
||||||
|
|
Loading…
Reference in New Issue