Fixed the hang on unclipping the mouse and (hopefully) all the hangs on switching to/from full screen.

This commit is contained in:
OBattler
2017-12-15 18:47:29 +01:00
parent b5bda71d27
commit 4f8506b65e
7 changed files with 38 additions and 47 deletions

View File

@@ -8,7 +8,7 @@
*
* Main emulator module where most things are controlled.
*
* Version: @(#)pc.c 1.0.49 2017/12/09
* Version: @(#)pc.c 1.0.50 2017/12/15
*
* Authors: Sarah Walker, <http://pcem-emulator.co.uk/>
* Miran Grca, <mgrca8@gmail.com>
@@ -1096,13 +1096,6 @@ pc_thread(void *param)
doresize = 0;
}
/* If requested, leave full-screen mode. */
if (leave_fullscreen_flag) {
pclog("Leaving full-screen mode..\n");
plat_setfullscreen(0);
leave_fullscreen_flag = 0;
}
}
pclog("PC: main thread done.\n");