From 5648b7259834bc493afcc93c2c261c7997363ddd Mon Sep 17 00:00:00 2001 From: neonloop Date: Mon, 9 Jan 2023 18:53:01 +0000 Subject: Waits to suspend until after game loop Suspending during loop caused corrupt states --- main.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'main.h') diff --git a/main.h b/main.h index f7b4225..5428d6c 100644 --- a/main.h +++ b/main.h @@ -27,6 +27,11 @@ typedef enum { CONFIG_TYPE_AUTO, } config_type; +#ifdef FUNKEY_S +extern bool should_suspend; +#endif + +extern bool in_menu; extern bool should_quit; extern unsigned current_audio_buffer_size; extern char core_name[MAX_PATH]; -- cgit v1.2.3