private void NESGraphicsConfig_Load(object sender, EventArgs e) { if (Global.Emulator is NES) { _nes = (NES)Global.Emulator; _settings = _nes.GetSettings(); } else { _subneshawk = (SubNESHawk)Global.Emulator; _settings = _subneshawk.GetSettings(); } LoadStuff(); }
private void NESGraphicsConfig_Load(object sender, EventArgs e) { nes = Global.Emulator as NES; settings = (NES.NESSettings)nes.GetSettings(); LoadStuff(); }
private void NESGraphicsConfig_Load(object sender, EventArgs e) { _nes = (NES)Global.Emulator; _settings = _nes.GetSettings(); LoadStuff(); }