Exemplo n.º 1
0
        private void btnReset_Click(object sender, EventArgs e)
        {
            VsGameConfig defaultConfig = VsGameConfig.GetGameConfig(((DropdownElement)cboGame.SelectedItem).ID);

            ((VsConfigInfo)Entity).DipSwitches = defaultConfig.DefaultDipSwitches;
            ((VsConfigInfo)Entity).PpuModel    = defaultConfig.PpuModel;
            ((VsConfigInfo)Entity).InputType   = defaultConfig.InputType;
            UpdateUI();
            UpdateDipSwitches(defaultConfig, false);
        }
Exemplo n.º 2
0
        private void cboGame_SelectedIndexChanged(object sender, EventArgs e)
        {
            VsGameConfig config = VsGameConfig.GetGameConfig(((DropdownElement)cboGame.SelectedItem).ID);

            UpdateDipSwitches(config, false);
        }