From f0fb5578273d372c9f6d1a2af6b3ef0e8a235338 Mon Sep 17 00:00:00 2001 From: FunkyFr3sh Date: Sat, 26 Sep 2020 08:20:13 +0200 Subject: [PATCH] force hook=1 with GCC build --- src/settings.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/settings.c b/src/settings.c index 63d4b96..d43d3b4 100644 --- a/src/settings.c +++ b/src/settings.c @@ -51,7 +51,9 @@ void Settings_Load() WindowRect.left = GetInt("posX", -32000); WindowRect.top = GetInt("posY", -32000); - HookingMethod = GetInt("hook", 1); +#ifdef _MSC_VER + HookingMethod = GetInt("hook", 4); +#endif ddraw->render.maxfps = GetInt("maxfps", 125);