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?[ }
public CVram(NesRom rom) { MemoryTool.memcpy(data, 0x00, rom.GetDataArray(), 0x8000, sizeof(Byte) * 0x2000); }