File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -263,7 +263,7 @@ private void LoadAutoSplitter()
263263 GetSplitterEnable = AutoSplitterMainModuleType . GetMethod ( "GetSplitterEnable" ) ;
264264 EnableSplitting = AutoSplitterMainModuleType . GetMethod ( "EnableSplitting" ) ;
265265 ReturnCurrentIGT = AutoSplitterMainModuleType . GetMethod ( "ReturnCurrentIGT" ) ;
266- ResetSplitterFlags = AutoSplitterMainModuleType . GetMethod ( "ResetSplitterFlags" ) ;
266+ ResetSplitterFlags = AutoSplitterMainModuleType . GetMethod ( "ResetSplitterFlags" ) ;
267267 AutoSplitterForm = AutoSplitterMainModuleType . GetMethod ( "AutoSplitterForm" ) ;
268268 GetIsIGTActive = AutoSplitterMainModuleType . GetMethod ( "GetIsIGTActive" ) ;
269269 SetPracticeMode = AutoSplitterMainModuleType . GetMethod ( "SetPracticeMode" ) ;
@@ -305,6 +305,18 @@ private void comboBoxGame_SelectedIndexChanged(object sender, EventArgs e)
305305 //Ask Selected index
306306 EnableSplitting . Invoke ( AutoSplitterInstance , new object [ ] { comboBoxGame . SelectedIndex } ) ;
307307 }
308+
309+ //To update when change Profile
310+ public void SetComboBoxGameIndex ( int index )
311+ {
312+ if ( index <= comboBoxGame . Items . Count )
313+ comboBoxGame . SelectedIndex = index ;
314+ }
315+
316+ public void SetPractice ( bool status )
317+ {
318+ PracticeModeCheck . Checked = status ;
319+ }
308320 #endregion
309321
310322 }
You can’t perform that action at this time.
0 commit comments