public static DialogResult DoSettingsDialog(IWin32Window owner) { var psx = ((Octoshock)Global.Emulator); var s = psx.GetSettings(); var ss = psx.GetSyncSettings(); var vid = psx.SystemVidStandard; var size = psx.CurrentVideoSize; var dlg = new PSXOptions(s,vid,size); var result = dlg.ShowDialog(owner); return result; }
public static DialogResult DoSettingsDialog(IMainFormForConfig mainForm, Config config, Octoshock psx) { var s = psx.GetSettings(); var ss = psx.GetSyncSettings(); var vid = psx.SystemVidStandard; var size = psx.CurrentVideoSize; using var dlg = new PSXOptions(mainForm, config, s, ss, vid, size); var result = mainForm.ShowDialogAsChild(dlg); return(result); }
public static DialogResult DoSettingsDialog(IWin32Window owner) { var psx = ((Octoshock)Global.Emulator); var s = psx.GetSettings(); var ss = psx.GetSyncSettings(); var vid = psx.SystemVidStandard; var size = psx.CurrentVideoSize; var dlg = new PSXOptions(s, vid, size); var result = dlg.ShowDialog(owner); return(result); }