From fd624d90b05edf89eb32a3e665ce3a293d897f1e Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Mon, 29 Aug 2005 17:36:08 +0000 Subject: Add xmms-nsf 0.0.3, XMMS input-plugin for playing Nintendo(TM) NSF audio files. PR: ports/85094 Submitted by: Emanuel Haupt --- audio/xmms-nsf/files/patch-src-nes-handler.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 audio/xmms-nsf/files/patch-src-nes-handler.c (limited to 'audio/xmms-nsf/files/patch-src-nes-handler.c') 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) \ -- cgit v1.2.3