commit e91a7bb916ae494f0e39df6e192ad55c9974c6c3
parent 17aa7db9ac915921e5000a999f4e6af7833214f8
Author: Olav Sørensen <olav.sorensen@live.no>
Date: Tue, 20 Sep 2022 00:00:06 +0200
Update ft2_sysreqs.c
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/ft2_sysreqs.c b/src/ft2_sysreqs.c
@@ -637,7 +637,7 @@ int16_t okBoxThreadSafe(int16_t type, const char *headline, const char *text)
// block multiple calls before they are completed (for safety)
while (okBoxData.active)
- SDL_Delay(1000 / VBLANK_HZ);
+ SDL_Delay(1000 / VBLANK_HZ); // accuracy is not important here
okBoxData.type = type;
okBoxData.headline = headline;
@@ -645,7 +645,7 @@ int16_t okBoxThreadSafe(int16_t type, const char *headline, const char *text)
okBoxData.active = true;
while (okBoxData.active)
- SDL_Delay(1000 / VBLANK_HZ);
+ SDL_Delay(1000 / VBLANK_HZ); // accuracy is not important here
return okBoxData.returnData;
}