Color Dreams: Allow oversized roms (4 bits for PRG instead of 2 bits)

This commit is contained in:
Sour 2019-12-08 17:06:37 -05:00
parent bc32701d8e
commit e31e500b03

View file

@ -22,7 +22,8 @@ class ColorDreams : public BaseMapper
value |= (ReadRAM(addr) & 0x01);
}
SelectPRGPage(0, value & 0x03);
//TODO: Re-add size restriction when adding an option to prevent oversized roms
SelectPRGPage(0, value & 0x0F);
SelectCHRPage(0, (value >> 4) & 0x0F);
}
};