public void Ntsc(snes_ntsc_setup_t setup)
        {
            CurrentScale = ScreenScale.NTSC;
            var e = NtscSet;

            if (e != null)
            {
                var args = new ScreenScaleNtscEventArgs()
                {
                    Setup = setup
                };
                e(this, args);
            }
        }
예제 #2
0
        public NtscMenuController(ScreenScaleController controller, ToolStripMenuItem item, NTSC_Options ntscOption) : base(controller, item, ScreenScale.NTSC)
        {
            this.ntscOption = ntscOption;
            switch (ntscOption)
            {
            case NTSC_Options.Composite:
                this.ntscSetup = snes_ntsc_setup_t.snes_ntsc_composite;
                break;

            case NTSC_Options.RGB:
                this.ntscSetup = snes_ntsc_setup_t.snes_ntsc_rgb;
                break;

            case NTSC_Options.S_Video:
                this.ntscSetup = snes_ntsc_setup_t.snes_ntsc_svideo;
                break;
            }
        }
        public NtscMenuController(ScreenScaleController controller, ToolStripMenuItem item, NTSC_Options ntscOption)
            : base(controller, item, ScreenScale.NTSC)
        {
            this.ntscOption = ntscOption;
            switch (ntscOption)
            {
                case NTSC_Options.Composite:
                    this.ntscSetup = snes_ntsc_setup_t.snes_ntsc_composite;
                    break;

                case NTSC_Options.RGB:
                    this.ntscSetup = snes_ntsc_setup_t.snes_ntsc_rgb;
                    break;

                case NTSC_Options.S_Video:
                    this.ntscSetup = snes_ntsc_setup_t.snes_ntsc_svideo;
                    break;
            }
        }