示例#1
0
        public CEmulator(Byte[] aDataArray)
        {
            time = 0;

            Logger.LogNormal("Load");

            rom = new NesRom(aDataArray);               // rom?f?[?^??????????
            // To Be Fixed.
            //mem = new NesMemory( rom );		// ???????????[?h?J?n?A?h???X????rom?f?[?^???i?[
            vram = new CVram(rom);                      // ???????????[?h?J?n?A?h???X????rom?f?[?^???i?[
        }
示例#2
0
 public CVram(NesRom rom)
 {
     MemoryTool.memcpy(data, 0x00, rom.GetDataArray(), 0x8000, sizeof(Byte) * 0x2000);
 }