summaryrefslogtreecommitdiff
path: root/macosx/EmuThread.m
diff options
context:
space:
mode:
authorSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2009-11-04 02:54:50 +0000
committerSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2009-11-04 02:54:50 +0000
commitea688720ca433a8b3e677eba1b5b980e0d16c216 (patch)
tree9cf2d498878d051040abf4059f315e4ec4a54124 /macosx/EmuThread.m
parent559fd026bb57e0d71615b237c37a31f287af5940 (diff)
downloadpcsxr-ea688720ca433a8b3e677eba1b5b980e0d16c216.tar.gz
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@35399 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/EmuThread.m')
-rw-r--r--macosx/EmuThread.m8
1 files changed, 8 insertions, 0 deletions
diff --git a/macosx/EmuThread.m b/macosx/EmuThread.m
index f8be4338..4818ff1a 100644
--- a/macosx/EmuThread.m
+++ b/macosx/EmuThread.m
@@ -19,6 +19,7 @@ EmuThread *emuThread;
NSString *defrostPath = nil;
static int safeEvent;
static int paused;
+static int runbios;
static pthread_cond_t eventCond;
static pthread_mutex_t eventMutex;
@@ -227,6 +228,7 @@ done:
safeEvent = EMUEVENT_NONE;
paused = NO;
+ runbios = NO;
if (SysInit() != 0) {
pthread_mutex_unlock(&eventMutex);
@@ -262,6 +264,7 @@ done:
safeEvent = EMUEVENT_NONE;
paused = NO;
+ runbios = YES;
if (SysInit() != 0) {
pthread_mutex_unlock(&eventMutex);
@@ -357,6 +360,11 @@ done:
return paused;
}
++ (BOOL)isRunBios
+{
+ return runbios;
+}
+
+ (BOOL)active
{
return emuThread ? YES : NO;