mordicaithebeastey2 / bizhawk

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

Illegal Charaters in Path #172

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Load any ROM
2. Reboot Core from the Menu Bar
3. Crash

What is the expected output? What do you see instead?
Bizhawk (EmuHawk) crashes with the error message:

System.ArgumentException: Illegal characters in path.
   at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
   at System.IO.Path.GetFileName(String path)
   at System.IO.Path.GetFileNameWithoutExtension(String path)
   at BizHawk.Client.EmuHawk.MainForm.LoadRom(String path, Boolean deterministicemulation, Boolean hasmovie) in Trunk\BizHawk.Client.EmuHawk\MainForm.cs:line 2995
   at BizHawk.Client.EmuHawk.MainForm.PowerMenuItem_Click(Object sender, EventArgs e) in Trunk\BizHawk.Client.EmuHawk\MainForm.Events.cs:line 541
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.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)

What version of the product are you using? On what operating system?
This happens on SVN r6573.  I think the issue first appeared on r6546.

Original issue reported on code.google.com by hegyak on 12 May 2014 at 8:06

GoogleCodeExporter commented 9 years ago
Fixed

Original comment by adeli...@tasvideos.org on 12 May 2014 at 11:12