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

crash when right clicking genesis VDP viewer palette box #1449

zeromus opened this issue Jan 15, 2019 · 1 comment


None yet
4 participants
Copy link

commented Jan 15, 2019


System.NullReferenceException: Object reference not set to an instance of an object.
   at BizHawk.Client.EmuHawk.GenVDPViewer.DrawTiles()
   at System.Windows.Forms.Control.OnMouseClick(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

The method in question

edit: stacktrace and link to code --yoshi

@zeromus zeromus self-assigned this Jan 15, 2019


This comment has been minimized.

Copy link

commented Mar 2, 2019

Seems like DrawTiles() in bmpViewPal_MouseClick should be UpdateValues() instead, otherwise View is null.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.