02790: Mame will crash on single monitor system if set to numscreens 2 in the *.ini.

This commit is contained in:
Aaron Giles 2009-01-01 01:22:44 +00:00
parent 6645a29484
commit 5938ef61cd

View File

@ -717,7 +717,7 @@ void winwindow_video_window_update(win_window_info *window)
}
// if we're visible and running and not in the middle of a resize, draw
if (window->hwnd != NULL && window->target != NULL)
if (window->hwnd != NULL && window->target != NULL && window->drawdata != NULL)
{
int got_lock = TRUE;