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); }
public Emulator(RomObject romObject) { cpuBoard = WpcCpuBoard.getInstance(romObject); uiFacade = UiState.getInstance(null); }