summaryrefslogtreecommitdiff
path: root/macosx/Source/EmuThread.h
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/Source/EmuThread.h')
-rw-r--r--macosx/Source/EmuThread.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/macosx/Source/EmuThread.h b/macosx/Source/EmuThread.h
index affab393..bea572f3 100644
--- a/macosx/Source/EmuThread.h
+++ b/macosx/Source/EmuThread.h
@@ -9,6 +9,12 @@
#import <Foundation/Foundation.h>
#include <setjmp.h>
+typedef NS_ENUM(char, EmuThreadPauseStatus) {
+ PauseStateIsNotPaused = 0,
+ PauseStatePauseRequested,
+ PauseStateIsPaused
+};
+
@interface EmuThread : NSObject {
jmp_buf restartJmp;
BOOL wasPaused;
@@ -29,6 +35,7 @@
+ (void)reset;
+ (BOOL)isPaused;
++ (EmuThreadPauseStatus)pausedState;
+ (BOOL)active;
+ (BOOL)isRunBios;