diff options
author | neonloop | 2023-01-09 18:53:01 +0000 |
---|---|---|
committer | neonloop | 2023-01-09 18:53:01 +0000 |
commit | 5648b7259834bc493afcc93c2c261c7997363ddd (patch) | |
tree | a4e9e48700000b00af5d5df30e940b19a88a28ac /main.h | |
parent | 77698840e8cd8ad0b59d6ac1a30a7ecf418ca470 (diff) | |
download | picoarch-5648b7259834bc493afcc93c2c261c7997363ddd.tar.gz picoarch-5648b7259834bc493afcc93c2c261c7997363ddd.tar.bz2 picoarch-5648b7259834bc493afcc93c2c261c7997363ddd.zip |
Waits to suspend until after game loop
Suspending during loop caused corrupt states
Diffstat (limited to 'main.h')
-rw-r--r-- | main.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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]; |