Update MMC3_52, Fix: Mario 7-in-1 display errors
Courtesy to @ptkila for the fix, confirmed working as intended after merge in my own branch.
This commit is contained in:
parent
82e6ff0b8e
commit
45f2a51f28
1 changed files with 4 additions and 3 deletions
|
@ -27,11 +27,12 @@ protected:
|
|||
{
|
||||
if(_extraReg & 0x40) {
|
||||
page &= 0x7F;
|
||||
page |= ((_extraReg & 0x04) | ((_extraReg >> 4) & 0x03)) << 7;
|
||||
page |= (((_extraReg & 0x20) >> 3) | ((_extraReg & 0x10) >> 4) | ((_extraReg & 0x04) >> 1)) << 7;
|
||||
} else {
|
||||
page &= 0xFF;
|
||||
page |= ((_extraReg & 0x04) | ((_extraReg >> 4) & 0x02)) << 7;
|
||||
page |= (((_extraReg & 0x20) >> 3) | ((_extraReg & 0x10) >> 4)) << 7;
|
||||
}
|
||||
|
||||
MMC3::SelectCHRPage(slot, page, memoryType);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue