summaryrefslogtreecommitdiff
path: root/emulators/zsnes/patches/patch-ad
blob: f3da181a9918ccfec90c921b6e386bc1944daf74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ad,v 1.3 2004/02/11 18:34:18 ben Exp $

--- linux/sw_draw.c.orig	2002-07-06 19:03:16.000000000 -0700
+++ linux/sw_draw.c
@@ -123,6 +123,10 @@ void sw_clearwin()
 
 void sw_drawwin()
 {
+#ifdef _PTH_PTHREAD_H_
+    pthread_yield_np();
+#endif
+
     NGNoTransp = 0;             // Set this value to 1 within the appropriate
                                 // video mode if you want to add a custom
                                 // transparency routine or hardware