summaryrefslogtreecommitdiff
path: root/emulators/sdlmame/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/sdlmame/patches/patch-ab')
-rw-r--r--emulators/sdlmame/patches/patch-ab12
1 files changed, 7 insertions, 5 deletions
diff --git a/emulators/sdlmame/patches/patch-ab b/emulators/sdlmame/patches/patch-ab
index 684e6acaf7c..0d555e30b7e 100644
--- a/emulators/sdlmame/patches/patch-ab
+++ b/emulators/sdlmame/patches/patch-ab
@@ -1,11 +1,13 @@
-$NetBSD: patch-ab,v 1.1.1.1 2009/01/18 16:02:17 wiz Exp $
+$NetBSD: patch-ab,v 1.2 2009/04/19 09:49:12 hasso Exp $
---- src/osd/sdl/sdlsync.c.orig 2008-12-12 04:55:30.000000000 +0100
-+++ src/osd/sdl/sdlsync.c
-@@ -587,14 +587,27 @@ int osd_thread_adjust_priority(osd_threa
+--- src/osd/sdl/sdlsync.c.orig 2008-12-12 05:55:30 +0200
++++ src/osd/sdl/sdlsync.c 2009-04-19 08:43:17 +0300
+@@ -586,15 +586,28 @@ int osd_thread_adjust_priority(osd_threa
+
int osd_thread_cpu_affinity(osd_thread *thread, UINT32 mask)
{
- #if !defined(NO_THREAD_COOPERATIVE) && !defined(NO_AFFINITY_NP)
+-#if !defined(NO_THREAD_COOPERATIVE) && !defined(NO_AFFINITY_NP)
++#if !defined(NO_THREAD_COOPERATIVE) && !defined(NO_AFFINITY_NP) && !defined(__DragonFly__)
+#if defined(__NetBSD__)
+ cpuset_t *cmask;
+#else