Ported over another missing fix to the Qt iNES header editor from the windows version.
This commit is contained in:
parent
fe5953a205
commit
9bc07b8c2c
|
@ -1334,12 +1334,9 @@ bool iNesHeaderEditor_t::WriteHeaderData(iNES_HEADER* header)
|
|||
|
||||
if (mapper < 4096)
|
||||
{
|
||||
if (mapper < 256)
|
||||
{
|
||||
_header.ROM_type |= (mapper & 0xF) << 4;
|
||||
_header.ROM_type2 |= (mapper & 0xF0);
|
||||
}
|
||||
else
|
||||
_header.ROM_type |= (mapper & 0xF) << 4;
|
||||
_header.ROM_type2 |= (mapper & 0xF0);
|
||||
if (mapper >= 256)
|
||||
{
|
||||
if (ines20)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue