private void cbAllowCrossCoreCorruption_CheckedChanged(object sender, EventArgs e) { if (cbAllowCrossCoreCorruption.Checked) { RTC_Params.SetParam("ALLOW_CROSS_CORE_CORRUPTION"); } else { RTC_Params.RemoveParam("ALLOW_CROSS_CORE_CORRUPTION"); } RTC_Core.AllowCrossCoreCorruption = cbAllowCrossCoreCorruption.Checked; }
private void cbDisableBizhawkOSD_CheckedChanged(object sender, EventArgs e) { if (cbDisableBizhawkOSD.Checked) { RTC_Params.RemoveParam("ENABLE_BIZHAWK_OSD"); } else { RTC_Params.SetParam("ENABLE_BIZHAWK_OSD"); } RTC_Core.SendCommandToBizhawk(new RTC_Command(CommandType.BIZHAWK_SET_OSDDISABLED) { objectValue = cbDisableBizhawkOSD.Checked }); }