summaryrefslogtreecommitdiff
path: root/audio/xmms-nsf/files/patch-src-nes-handler.c
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2005-08-29 17:36:08 +0000
committerRenato Botelho <garga@FreeBSD.org>2005-08-29 17:36:08 +0000
commitfd624d90b05edf89eb32a3e665ce3a293d897f1e (patch)
tree5fcb58a2bbd3d0529d0ef8a7ea77454228ac0018 /audio/xmms-nsf/files/patch-src-nes-handler.c
parentAdd httping 1.0.4, a ping-like tool for HTTP requests. (diff)
Add xmms-nsf 0.0.3, XMMS input-plugin for playing Nintendo(TM) NSF audio
files. PR: ports/85094 Submitted by: Emanuel Haupt <ehaupt@critical.ch>
Diffstat (limited to 'audio/xmms-nsf/files/patch-src-nes-handler.c')
-rw-r--r--audio/xmms-nsf/files/patch-src-nes-handler.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/audio/xmms-nsf/files/patch-src-nes-handler.c b/audio/xmms-nsf/files/patch-src-nes-handler.c
new file mode 100644
index 000000000000..093d68df3402
--- /dev/null
+++ b/audio/xmms-nsf/files/patch-src-nes-handler.c
@@ -0,0 +1,26 @@
+--- src/nes/handler.c.orig Sun Jan 7 05:17:57 2001
++++ src/nes/handler.c Thu Aug 18 16:47:01 2005
+@@ -10,9 +10,9 @@
+ static NES_READ_HANDLER *(nprh[0x10]) = { 0, };
+ static NES_WRITE_HANDLER *(npwh[0x10]) = { 0, };
+ #define EXTREADWRITE(p) \
+-static Uint __fastcall ExtRd##p##(Uint A) \
++static Uint __fastcall ExtRd##p (Uint A) \
+ { \
+- NES_READ_HANDLER *ph = nprh[0x##p##]; \
++ NES_READ_HANDLER *ph = nprh[0x##p ]; \
+ do \
+ { \
+ if (ph->min <= A && A <= ph->max) \
+@@ -22,9 +22,9 @@
+ } while ((ph = ph->next) != 0); \
+ return 0; \
+ } \
+-static void __fastcall ExtWr##p##(Uint A, Uint V) \
++static void __fastcall ExtWr##p (Uint A, Uint V) \
+ { \
+- NES_WRITE_HANDLER *ph = npwh[0x##p##]; \
++ NES_WRITE_HANDLER *ph = npwh[0x##p ]; \
+ do \
+ { \
+ if (ph->min <= A && A <= ph->max) \