Exemple #1
0
        public void Init()
        {
            var gamerom    = Enumerable.Repeat((byte)0xFF, 0x18000).ToArray();
            var initObject = new RomObject
            {
                romSizeMBit = 1,
                systemRom   = Enumerable.Repeat((byte)0xFF, 2 * PAGESIZE).ToArray(),
                fileName    = "foo",
                gameRom     = gamerom
            };

            cpuBoard = WpcCpuBoard.getInstance(initObject);
        }
Exemple #2
0
 public Emulator(RomObject romObject)
 {
     cpuBoard = WpcCpuBoard.getInstance(romObject);
     uiFacade = UiState.getInstance(null);
 }