Some fixes, fixes PCjr when the emulator is started in full screen, fixes #1702.
This commit is contained in:
@@ -1427,7 +1427,8 @@ ui_init(int nCmdShow)
|
||||
}
|
||||
|
||||
/* Initialize the mouse module. */
|
||||
win_mouse_init();
|
||||
if (!start_in_fullscreen && !video_fullscreen_first)
|
||||
win_mouse_init();
|
||||
|
||||
/*
|
||||
* Before we can create the Render window, we first have
|
||||
@@ -1457,16 +1458,16 @@ ui_init(int nCmdShow)
|
||||
else
|
||||
plat_resize(scrnsz_x, scrnsz_y);
|
||||
|
||||
/* Initialize the rendering window, or fullscreen. */
|
||||
if (start_in_fullscreen || video_fullscreen_first)
|
||||
plat_setfullscreen(3);
|
||||
|
||||
/* Fire up the machine. */
|
||||
pc_reset_hard_init();
|
||||
|
||||
/* Set the PAUSE mode depending on the renderer. */
|
||||
plat_pause(0);
|
||||
|
||||
/* Initialize the rendering window, or fullscreen. */
|
||||
if (start_in_fullscreen)
|
||||
plat_setfullscreen(1);
|
||||
|
||||
/* If so requested via the command line, inform the
|
||||
* application that started us of our HWND, using the
|
||||
* the hWnd and unique ID the application has given
|
||||
|
||||
Reference in New Issue
Block a user