summaryrefslogtreecommitdiff
path: root/gst/nsf/nsf.c
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2008-03-26 07:40:58 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2008-03-26 07:40:58 +0000
commitccf0b720ba9be02de6ef1cadd2e1be4ebccb92fa (patch)
treeb25c32c1e02b43fe0bab8898c3dc8423cf888545 /gst/nsf/nsf.c
parent6763549151b4311c933a2751346fe37b41acf5ba (diff)
downloadgstreamer-plugins-bad-ccf0b720ba9be02de6ef1cadd2e1be4ebccb92fa.tar.gz
gst/nsf/: Remove memguard again and apply hopefully all previously dropped local patches. Should be really better tha...
Original commit message from CVS: * gst/nsf/Makefile.am: * gst/nsf/fds_snd.c: * gst/nsf/mmc5_snd.c: * gst/nsf/nsf.c: * gst/nsf/types.h: * gst/nsf/vrc7_snd.c: * gst/nsf/vrcvisnd.c: * gst/nsf/memguard.c: * gst/nsf/memguard.h: Remove memguard again and apply hopefully all previously dropped local patches. Should be really better than the old version now.
Diffstat (limited to 'gst/nsf/nsf.c')
-rw-r--r--gst/nsf/nsf.c19
1 files changed, 16 insertions, 3 deletions
diff --git a/gst/nsf/nsf.c b/gst/nsf/nsf.c
index a42022fe4..5844b1158 100644
--- a/gst/nsf/nsf.c
+++ b/gst/nsf/nsf.c
@@ -89,14 +89,14 @@ nsf_bankswitch (uint32 address, uint8 value)
static nes6502_memread default_readhandler[] = {
{0x0800, 0x1FFF, read_mirrored_ram},
{0x4000, 0x4017, apu_read},
- {-1, -1, NULL}
+ {(uint32) - 1, (uint32) - 1, NULL}
};
static nes6502_memwrite default_writehandler[] = {
{0x0800, 0x1FFF, write_mirrored_ram},
{0x4000, 0x4017, apu_write},
{0x5FF6, 0x5FFF, nsf_bankswitch},
- {-1, -1, NULL}
+ {(uint32) - 1, (uint32) - 1, NULL}
};
static uint8
@@ -1031,7 +1031,20 @@ nsf_setfilter (nsf_t * nsf, int filter_type)
/*
** $Log$
-** Revision 1.5 2008/03/25 15:56:12 slomo
+** Revision 1.6 2008/03/26 07:40:55 slomo
+** * gst/nsf/Makefile.am:
+** * gst/nsf/fds_snd.c:
+** * gst/nsf/mmc5_snd.c:
+** * gst/nsf/nsf.c:
+** * gst/nsf/types.h:
+** * gst/nsf/vrc7_snd.c:
+** * gst/nsf/vrcvisnd.c:
+** * gst/nsf/memguard.c:
+** * gst/nsf/memguard.h:
+** Remove memguard again and apply hopefully all previously dropped
+** local patches. Should be really better than the old version now.
+**
+** Revision 1.5 2008-03-25 15:56:12 slomo
** Patch by: Andreas Henriksson <andreas at fatal dot set>
** * gst/nsf/Makefile.am:
** * gst/nsf/dis6502.h: