Ported over recent iNES header editor mapper decoding fix from windows to Qt.

This commit is contained in:
Matthew Budd 2020-11-03 18:12:26 -05:00
parent 7e38d08bdb
commit 6672e53098
1 changed files with 1 additions and 1 deletions

View File

@ -865,7 +865,7 @@ void iNesHeaderEditor_t::setHeaderData(iNES_HEADER* header)
int mapper = header->ROM_type >> 4 | header->ROM_type2 & 0xF0;
if (ines20)
{
mapper |= (header->ROM_type3 & 0xF0) << 4;
mapper |= (header->ROM_type3 & 0x0F) << 8;
}
mapperComboBox->setCurrentIndex( mapper );