protected void BaseConfigure() { mmc1 = new MMC1(); prg_mask = (Cart.prg_size / 16) - 1; vram_mask = (Cart.vram_size * 1024) - 1; chr_mask = (Cart.chr_size / 8 * 2) - 1; if (!disablemirror) { SetMirrorType(mmc1.mirror); } ppuclock = pputimeout; }
protected void BaseConfigure() { mmc1 = new MMC1(); prg_mask = (Cart.PrgSize / 16) - 1; vram_mask = (Cart.VramSize * 1024) - 1; chr_mask = (Cart.ChrSize / 8 * 2) - 1; //Chip n Dale (PC10) has a nonstandard chr size, which makes the mask nonsense // let's put in a special case to deal with it if (Cart.ChrSize == 136) { chr_mask = (128 / 8 * 2) - 1; } if (!disablemirror) { SetMirrorType(mmc1.mirror); } ppuclock = pputimeout; }
protected void BaseConfigure() { mmc1 = new MMC1(); prg_mask = (Cart.prg_size / 16) - 1; vram_mask = (Cart.vram_size*1024) - 1; chr_mask = (Cart.chr_size / 8 * 2) - 1; if (!disablemirror) SetMirrorType(mmc1.mirror); ppuclock = pputimeout; }