divyang4481 / bizhawk

Automatically exported from code.google.com/p/bizhawk
0 stars 0 forks source link

Null Emulator Path Configuration Error #312

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Have EmuHawk open with the Null Core running
2. Open Path Configuration
3. Error message

What is the expected output? What do you see instead?
************** Exception Text **************
System.ArgumentOutOfRangeException: InvalidArgument=Value of '-1' is not valid 
for 'index'.
Parameter name: index
   at System.Windows.Forms.TabControl.GetTabPage(Int32 index)
   at System.Windows.Forms.TabControl.SelectTab(Int32 index)
   at System.Windows.Forms.TabControl.SelectTab(TabPage tabPage)
   at BizHawk.Client.EmuHawk.PathConfig.LoadSettings()
   at BizHawk.Client.EmuHawk.PathConfig.NewPathConfig_Load(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)

I traced it back to this Line:
PathTabControl.SelectTab(FindTabByName(Global.Game.System));

Running EmuHawk with Visual Studio will cause Visual Studio to eat the error 
message and display a message in the Output Window.

Original issue reported on code.google.com by hegyak on 18 Nov 2014 at 12:55

GoogleCodeExporter commented 9 years ago
Fixed with https://code.google.com/p/bizhawk/source/detail?r=8199

Original comment by hegyak on 19 Nov 2014 at 1:18