MMC3: Allow bits 6/7 to be used for reg 6 & 7 (needed for some bootleg games)
This commit is contained in:
parent
4ffc2b756b
commit
d968541444
1 changed files with 1 additions and 4 deletions
|
@ -216,10 +216,7 @@ class MMC3 : public BaseMapper
|
|||
break;
|
||||
|
||||
case MMC3Registers::Reg8001:
|
||||
if(_currentRegister >= 6) {
|
||||
//"Writes to registers 6 and 7 always ignore bits 6 and 7, as the MMC3 has only 6 PRG ROM address output lines."
|
||||
value &= 0x3F;
|
||||
} else if(_currentRegister <= 1) {
|
||||
if(_currentRegister <= 1) {
|
||||
//"Writes to registers 0 and 1 always ignore bit 0"
|
||||
value &= ~0x01;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue