Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullReferenceException makes it impossible to record movies on Libretro cores #713

Closed
Fortranm opened this issue Oct 20, 2016 · 1 comment
Labels
App: EmuHawk Relating to EmuHawk frontend

Comments

@Fortranm
Copy link

[quote]************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at BizHawk.Client.ApiHawk.ClientApi.OnRomLoaded()
at BizHawk.Client.EmuHawk.MainForm.LoadRom(String path, LoadRomArgs args)
at BizHawk.Client.EmuHawk.MainForm.OpenAdvancedMenuItem_Click(Object sender, EventArgs e)
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)[/quote]
Every time I open a game with fbalpha_libretro.dll in version 1.11.7, an error with these texts show up.
I'm using Windows 10 x64.

[quote]************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at BizHawk.Client.ApiHawk.ClientApi.OnRomLoaded()
at BizHawk.Client.EmuHawk.MainForm.LoadRom(String path, LoadRomArgs args)
at BizHawk.Client.EmuHawk.MainForm.RebootCore()
at BizHawk.Client.EmuHawk.MainForm.StartNewMovie(IMovie movie, Boolean record)
at BizHawk.Client.EmuHawk.RecordMovie.Ok_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.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)[/quote]
These show up when I try to record a movie.
Did I miss any dll files, or is this just how Libretro cores behave at the moment?

@Fortranm Fortranm changed the title NullReferenceException makes it impossible to record on Libretro cores NullReferenceException makes it impossible to record movies on Libretro cores Oct 20, 2016
@zeromus
Copy link
Contributor

zeromus commented Jul 10, 2017

libretro's been rewritten, all these kinds of bugs are out of date.
but please check the libretro compatibility page on the wiki (which is probably out of date now) to make sure this core is even supposed to work.
also i'll be improving libretro parts in the future to pack-in "whitelisted" dlls which are guaranteed to work approximately

@zeromus zeromus closed this as completed Jul 10, 2017
@YoshiRulz YoshiRulz added the App: EmuHawk Relating to EmuHawk frontend label Feb 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
App: EmuHawk Relating to EmuHawk frontend
Projects
None yet
Development

No branches or pull requests

3 participants