summaryrefslogtreecommitdiff
path: root/emulators/zsnes/patches/patch-ad
blob: 0ec101fca1084e209376b0d0b80d931f5c66b421 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ad,v 1.5 2007/03/24 20:10:08 adam Exp $

--- linux/sw_draw.c.orig	2007-01-18 17:52:16.000000000 +0100
+++ linux/sw_draw.c
@@ -139,6 +139,9 @@ extern unsigned char prevKeep4_3Ratio;
 
 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