From d054dad828eeb67f749f2a4a52fefbf17090746e Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Sun, 9 Nov 2014 23:01:19 +0000 Subject: OS X: fix an oversight with the paused state in EmuThread. This could have caused bugs later down the line. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@92220 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/Source/EmuThread.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'macosx/Source/EmuThread.h') 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 #include +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; -- cgit v1.2.3