Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
        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;
        }
Exemplo n.º 3
0
		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;
		}