Small fix for MMC1 (Fixes graphics in Bases Loaded II)

This commit is contained in:
Souryo 2014-06-27 20:21:23 -04:00
parent 6e1742393d
commit 5d8c458a7e

View File

@ -123,8 +123,8 @@ class MMC1 : public BaseMapper
}
if(_chrMode == ChrMode::_8k) {
SelectCHRPage(0, _chrReg0);
SelectCHRPage(1, _chrReg0 + 1);
SelectCHRPage(0, _chrReg0 & 0x1E);
SelectCHRPage(1, (_chrReg0 & 0x1E) + 1);
} else if(_chrMode == ChrMode::_4k) {
SelectCHRPage(0, _chrReg0);
SelectCHRPage(1, _chrReg1);