mordicaithebeastey2 / bizhawk

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

N64 Video Plugin Crash #173

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Load EmuHawk
2. Go to Config then Cores
3. Select N64 Video Plugin Settings with out an N64 ROM loaded.  The error 
appears.

What is the expected output? What do you see instead?
No ROM loaded:
System.NullReferenceException: Object reference not set to an instance of an 
object.
   at BizHawk.Client.EmuHawk.N64VideoPluginconfig.N64VideoPluginconfig_Load(Object sender, EventArgs e) in \Trunk\BizHawk.Client.EmuHawk\config\N64\N64VideoPluginconfig.cs:line 304
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

NES ROM loaded (NESHawk):
System.InvalidCastException: Unable to cast object of type 'NESSyncSettings' to 
type 'BizHawk.Emulation.Cores.Nintendo.N64.N64SyncSettings'.
   at BizHawk.Client.EmuHawk.N64VideoPluginconfig.N64VideoPluginconfig_Load(Object sender, EventArgs e) in \Trunk\BizHawk.Client.EmuHawk\config\N64\N64VideoPluginconfig.cs:line 298

Genesis ROM loaded:
System.InvalidCastException: Unable to cast object of type 'GPGXSyncSettings' 
to type 'BizHawk.Emulation.Cores.Nintendo.N64.N64SyncSettings'.
   at BizHawk.Client.EmuHawk.N64VideoPluginconfig.N64VideoPluginconfig_Load(Object sender, EventArgs e) in \Trunk\BizHawk.Client.EmuHawk\config\N64\N64VideoPluginconfig.cs:line 298

What version of the product are you using? On what operating system?
Occurs with SVN 6580

Original issue reported on code.google.com by hegyak on 13 May 2014 at 9:00

GoogleCodeExporter commented 9 years ago
Fixed revision 6588

Original comment by adeli...@tasvideos.org on 14 May 2014 at 10:19