shithub: ft²

Download patch

ref: e91a7bb916ae494f0e39df6e192ad55c9974c6c3
parent: 17aa7db9ac915921e5000a999f4e6af7833214f8
author: Olav Sørensen <olav.sorensen@live.no>
date: Mon Sep 19 20:00:33 EDT 2022

Update ft2_sysreqs.c

--- a/src/ft2_sysreqs.c
+++ b/src/ft2_sysreqs.c
@@ -637,7 +637,7 @@
 
 	// 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 @@
 	okBoxData.active = true;
 
 	while (okBoxData.active)
-		SDL_Delay(1000 / VBLANK_HZ);
+		SDL_Delay(1000 / VBLANK_HZ); // accuracy is not important here
 
 	return okBoxData.returnData;
 }