diff options
Diffstat (limited to 'audio/xmms-nsf/files/patch-src_nes_handler.c')
-rw-r--r-- | audio/xmms-nsf/files/patch-src_nes_handler.c | 26 |
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..8da5cc3e93f2 --- /dev/null +++ b/audio/xmms-nsf/files/patch-src_nes_handler.c @@ -0,0 +1,26 @@ +--- src/nes/handler.c.orig 2001-01-07 04:17:57 UTC ++++ src/nes/handler.c +@@ -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 @@ static Uint __fastcall ExtRd##p##(Uint A + } 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) \ |