diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2014-11-09 23:01:19 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2014-11-09 23:01:19 +0000 |
| commit | d054dad828eeb67f749f2a4a52fefbf17090746e (patch) | |
| tree | f3ff64518608f86d6e8d69b0dd4e3668d6b547df /macosx/Source/EmuThread.h | |
| parent | 969926ecc068ff9f607982774d0806bb350b4611 (diff) | |
| download | pcsxr-d054dad828eeb67f749f2a4a52fefbf17090746e.tar.gz | |
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
Diffstat (limited to 'macosx/Source/EmuThread.h')
| -rw-r--r-- | macosx/Source/EmuThread.h | 7 |
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; |
