From d4131c0bb51d46aa52fa481e3b2e3610e87b29aa Mon Sep 17 00:00:00 2001 From: "BADIM-PC\\Vadim" Date: Sun, 31 Dec 2017 13:27:54 +0300 Subject: [PATCH] Games get desynced #491 --- src/studio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/studio.c b/src/studio.c index 4c78295..85f40d4 100644 --- a/src/studio.c +++ b/src/studio.c @@ -2767,7 +2767,7 @@ s32 main(s32 argc, char **argv) nextTick += Delta; tick(); - if(noVsync || SDL_GetWindowFlags(studio.window) & SDL_WINDOW_MINIMIZED) + if(SDL_GetWindowFlags(studio.window) & SDL_WINDOW_MINIMIZED || noVsync) { s64 delay = nextTick - SDL_GetPerformanceCounter();