Merge pull request #225 from mjbudd77/master

Ported over recent iNES header editor mapper decoding fix from window…
This commit is contained in:
mjbudd77 2020-11-03 18:33:02 -05:00 committed by GitHub
commit f2ce08d4b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 );