diff options
author | Andreas Henriksson <andreas@fatal.set> | 2008-03-25 15:56:13 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2008-03-25 15:56:13 +0000 |
commit | a4d0dacec222cbeb9853b56f4900f5881d67b99b (patch) | |
tree | 953651f2ca39872d58fc2d0212cd9b2919088850 /gst/nsf/mmc5_snd.c | |
parent | 09ec92549f052d8cb8c157107ccd1359e6f2da1b (diff) | |
download | gst-plugins-bad-a4d0dacec222cbeb9853b56f4900f5881d67b99b.tar.gz gst-plugins-bad-a4d0dacec222cbeb9853b56f4900f5881d67b99b.tar.bz2 gst-plugins-bad-a4d0dacec222cbeb9853b56f4900f5881d67b99b.zip |
gst/nsf/: Update our internal nosefart to nosefart-2.7-mls to fix segfaults on some files. Fixes bug #498237.
Original commit message from CVS:
Patch by: Andreas Henriksson <andreas at fatal dot set>
* gst/nsf/Makefile.am:
* gst/nsf/dis6502.h:
* gst/nsf/fds_snd.c:
* gst/nsf/fds_snd.h:
* gst/nsf/fmopl.c:
* gst/nsf/fmopl.h:
* gst/nsf/gstnsf.c:
* gst/nsf/log.c:
* gst/nsf/log.h:
* gst/nsf/memguard.c:
* gst/nsf/memguard.h:
* gst/nsf/mmc5_snd.c:
* gst/nsf/mmc5_snd.h:
* gst/nsf/nes6502.c:
* gst/nsf/nes6502.h:
* gst/nsf/nes_apu.c:
* gst/nsf/nes_apu.h:
* gst/nsf/nsf.c:
* gst/nsf/nsf.h:
* gst/nsf/osd.h:
* gst/nsf/types.h:
* gst/nsf/vrc7_snd.c:
* gst/nsf/vrc7_snd.h:
* gst/nsf/vrcvisnd.c:
* gst/nsf/vrcvisnd.h:
Update our internal nosefart to nosefart-2.7-mls to fix segfaults
on some files. Fixes bug #498237.
Remove some // comments, fix some compiler warnings and use pow()
instead of a slow, selfmade implementation.
Diffstat (limited to 'gst/nsf/mmc5_snd.c')
-rw-r--r-- | gst/nsf/mmc5_snd.c | 28 |
1 files changed, 11 insertions, 17 deletions
diff --git a/gst/nsf/mmc5_snd.c b/gst/nsf/mmc5_snd.c index 49984432..09b3ff7b 100644 --- a/gst/nsf/mmc5_snd.c +++ b/gst/nsf/mmc5_snd.c @@ -310,13 +310,13 @@ mmc5_shutdown (void) static apu_memread mmc5_memread[] = { {0x5205, 0x5206, mmc5_read}, - {(uint32) - 1, (uint32) - 1, NULL} + {-1, -1, NULL} }; static apu_memwrite mmc5_memwrite[] = { {0x5000, 0x5015, mmc5_write}, {0x5205, 0x5206, mmc5_write}, - {(uint32) - 1, (uint32) - 1, NULL} + {-1, -1, NULL} }; apuext_t mmc5_ext = { @@ -330,19 +330,8 @@ apuext_t mmc5_ext = { /* ** $Log$ -** Revision 1.2 2006/10/17 11:04:14 tpm -** Patch by: Josep Torra Valles <josep at fluendo com> -** * gst/nsf/fds_snd.c: -** * gst/nsf/mmc5_snd.c: -** * gst/nsf/nsf.c: -** * gst/nsf/vrc7_snd.c: -** * gst/nsf/vrcvisnd.c: -** Fix some things the Forte compiler warns about (#362626). -** -** Revision 1.1 2006/07/13 15:07:28 wtay -** Based on patches by: Johan Dahlin <johan at gnome dot org> -** Ronald Bultje <rbultje at ronald dot bitfreak dot net> -** * configure.ac: +** Revision 1.3 2008/03/25 15:56:11 slomo +** Patch by: Andreas Henriksson <andreas at fatal dot set> ** * gst/nsf/Makefile.am: ** * gst/nsf/dis6502.h: ** * gst/nsf/fds_snd.c: @@ -350,7 +339,6 @@ apuext_t mmc5_ext = { ** * gst/nsf/fmopl.c: ** * gst/nsf/fmopl.h: ** * gst/nsf/gstnsf.c: -** * gst/nsf/gstnsf.h: ** * gst/nsf/log.c: ** * gst/nsf/log.h: ** * gst/nsf/memguard.c: @@ -369,7 +357,13 @@ apuext_t mmc5_ext = { ** * gst/nsf/vrc7_snd.h: ** * gst/nsf/vrcvisnd.c: ** * gst/nsf/vrcvisnd.h: -** Added NSF decoder plugin. Fixes 151192. +** Update our internal nosefart to nosefart-2.7-mls to fix segfaults +** on some files. Fixes bug #498237. +** Remove some // comments, fix some compiler warnings and use pow() +** instead of a slow, selfmade implementation. +** +** Revision 1.1 2003/04/08 20:53:01 ben +** Adding more files... ** ** Revision 1.6 2000/07/04 04:51:41 matt ** cleanups |