Actually unpause it at the correct time.
This commit is contained in:
@@ -1203,7 +1203,7 @@ main(int argc, char **argv)
|
|||||||
pc_reset_hard_init();
|
pc_reset_hard_init();
|
||||||
|
|
||||||
/* Set the PAUSE mode depending on the renderer. */
|
/* Set the PAUSE mode depending on the renderer. */
|
||||||
// plat_pause(0);
|
plat_pause(0);
|
||||||
|
|
||||||
/* Initialize the rendering window, or fullscreen. */
|
/* Initialize the rendering window, or fullscreen. */
|
||||||
|
|
||||||
@@ -1212,7 +1212,6 @@ main(int argc, char **argv)
|
|||||||
thread_create(monitor_thread, NULL);
|
thread_create(monitor_thread, NULL);
|
||||||
#endif
|
#endif
|
||||||
SDL_AddTimer(1000, timer_onesec, NULL);
|
SDL_AddTimer(1000, timer_onesec, NULL);
|
||||||
plat_pause(1);
|
|
||||||
while (!is_quit) {
|
while (!is_quit) {
|
||||||
static int mouse_inside = 0;
|
static int mouse_inside = 0;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user