private void SNESControllerSettings_Load(object sender, EventArgs e)
        {
            LimitAnalogChangeCheckBox.Checked = _syncSettings.LimitAnalogChangeSensitivity;

            _suppressDropdownChangeEvents = true;
            Port1ComboBox.PopulateFromEnum(_syncSettings.LeftPort);
            Port2ComboBox.PopulateFromEnum(_syncSettings.RightPort);
            _suppressDropdownChangeEvents = false;
        }
Exemplo n.º 2
0
        private void SNESControllerSettings_Load(object sender, EventArgs e)
        {
            _syncSettings = ((LibsnesCore)Global.Emulator).GetSyncSettings().Clone();

            LimitAnalogChangeCheckBox.Checked = _syncSettings.LimitAnalogChangeSensitivity;

            _supressDropdownChangeEvents = true;
            Port1ComboBox.PopulateFromEnum <LibsnesControllerDeck.ControllerType>(_syncSettings.LeftPort);
            Port2ComboBox.PopulateFromEnum <LibsnesControllerDeck.ControllerType>(_syncSettings.RightPort);
            _supressDropdownChangeEvents = false;
        }
Exemplo n.º 3
0
 private void SNESControllerSettings_Load(object sender, EventArgs e)
 {
     _syncSettings = (Global.Emulator as LibsnesCore).SyncSettings.Clone();
     Port1ComboBox.PopulateFromEnum <LibsnesControllerDeck.ControllerType>(_syncSettings.LeftPort);
     Port2ComboBox.PopulateFromEnum <LibsnesControllerDeck.ControllerType>(_syncSettings.RightPort);
 }