void LoadRom(string path) { _cpu = new CPU(); _cpu.Load(System.IO.File.ReadAllBytes(path)); _byteProvider = new ByteProvider(_cpu.Mem); _byteProvider.BytesModified += ByteProvider_BytesModified; status.Items["lblROM"].Text = path; InitEmulation(); RefreshState(true); }