Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Core/NES/Mappers/Mmc3Variants/MMC3_121.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class MMC3_121 : public MMC3
//Hack for Super 3-in-1
BaseMapper::SelectChrPage(slot, page | ((_exRegs[3] & 0x80) << 1), memoryType);
} else {
if((slot < 4 && _chrMode == 0) || (slot >= 4 && _chrMode == 1)) {
if(slot >= 4) {
page |= 0x100;
}
BaseMapper::SelectChrPage(slot, page, memoryType);
Expand Down
2 changes: 1 addition & 1 deletion Core/NES/Mappers/Mmc3Variants/MMC3_187.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class MMC3_187 : public MMC3

void SelectChrPage(uint16_t slot, uint16_t page, ChrMemoryType memoryType = ChrMemoryType::Default) override
{
if((_chrMode && slot >= 4) || (!_chrMode && slot < 4)) {
if(slot >= 4) {
page |= 0x100;
}
BaseMapper::SelectChrPage(slot, page);
Expand Down
Loading