22 lines
798 B
Text
22 lines
798 B
Text
$NetBSD: patch-af,v 1.2 1998/08/07 10:36:23 agc Exp $
|
|
|
|
--- orig/xwave/src/effects.c Tue Nov 19 15:57:27 1996
|
|
+++ src/effects.c Sat Sep 13 04:21:24 1997
|
|
@@ -350,7 +350,7 @@
|
|
case 8: {
|
|
#if defined (linux) || defined (FreeBSD)
|
|
for (i=0;i<newlength;i++) newbuf[i]=obuf[(i<<1)+1]+128;
|
|
-#elif defined (sgi) || defined (sun)
|
|
+#elif defined (sgi) || defined (sun) || defined(__NetBSD__)
|
|
for (i=0;i<newlength;i++) newbuf[i]=obuf[(i<<1)]+128;
|
|
#endif
|
|
break;
|
|
@@ -358,7 +358,7 @@
|
|
case 16: {
|
|
#if defined (linux) || defined (FreeBSD)
|
|
for (i=0;i<wd->length;i++) newbuf[(i<<1)+1]=obuf[i]-128;
|
|
-#elif defined (sgi) || defined (sun)
|
|
+#elif defined (sgi) || defined (sun) || defined(__NetBSD__)
|
|
for (i=0;i<wd->length;i++) newbuf[(i<<1)]=obuf[i]-128;
|
|
#endif
|
|
break;
|