/// <summary> /// News up and Starts the Emulator Task /// </summary> public void Start() { _cpu.Reset(); _ppu.Reset(); _powerOn = true; _emulatorTask = new TaskFactory().StartNew(Run, TaskCreationOptions.LongRunning); }
/// <summary> /// News up and Starts the Emulator Task /// </summary> public void Start() { _cartridge.LoadROM(_romData); _ppu = new PPU.Core(_cartridge.MemoryMapper, DMATransfer); _cpu = new CPU.Core(_cartridge.MemoryMapper, Controller1); _cpu.Reset(); _ppu.Reset(); _powerOn = true; _emulatorTask = new TaskFactory().StartNew(Run, TaskCreationOptions.LongRunning); }