示例#1
0
        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;
        }
示例#2
0
        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);
        }
示例#3
0
        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);
        }