From 78742995671ebf8c042a4dbdfe32136d8a95f1de Mon Sep 17 00:00:00 2001 From: OBattler Date: Tue, 31 Oct 2023 01:14:51 +0100 Subject: [PATCH] The pause_ack variable is now volatile, fixing hangs on non-debug binaries. --- src/86box.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/86box.c b/src/86box.c index f675f4940..bf9be5086 100644 --- a/src/86box.c +++ b/src/86box.c @@ -237,7 +237,7 @@ int efscrnsz_y = SCREEN_RES_Y; static wchar_t mouse_msg[3][200]; static int do_pause_ack = 0; -static int pause_ack = 0; +static volatile int pause_ack = 0; #ifndef RELEASE_BUILD static char buff[1024];