public GPU(System.Windows.Controls.Image image) { _renderImage = image; _emulatorThread = new Thread(RunCycles); _chip8 = new CPU.Chip8(); }
public Game1() { _graphics = new GraphicsDeviceManager(this); _emulatorThread = new Thread(RunCycles); _chip8 = new CPU.Chip8(); Content.RootDirectory = "Content"; IsMouseVisible = true; }
protected override void Initialize() { chip8 = new CPU.Chip8(); chip8.Initalize(); chip8.LoadGame(@"C:\Users\Hayden\Downloads\myChip8-bin-src\myChip8-bin-src\pong2.c8"); _graphics.SynchronizeWithVerticalRetrace = false; this.IsFixedTimeStep = false; emulatorThread = new Thread(RunCycles); emulatorThread.Start(); base.Initialize(); }