]> git.sur5r.net Git - cc65/commitdiff
Add lynx_snd_stop_channel
authorkarri <karri@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 28 Jan 2013 19:42:02 +0000 (19:42 +0000)
committerkarri <karri@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 28 Jan 2013 19:42:02 +0000 (19:42 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@5977 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/lynx/lynx-snd.s

index bb05a1db17861747be6bc0e06f670048a79e8753..dff5c6a23a3ae1ea701b428e71b84d4de8a35c28 100644 (file)
@@ -11,6 +11,7 @@
        .export         _lynx_snd_active
        .export         _lynx_snd_play
        .export         _lynx_snd_stop
+       .export         _lynx_snd_stop_channel
        .export         _lynx_snd_pause
        .export         _lynx_snd_continue
        .interruptor    lynx_snd_handler
@@ -1181,6 +1182,7 @@ stop1:            lda SndActive,x
        rts
 
 _lynx_snd_stop_channel:
+       tax
        lda SndActive,x
        _IFNE
                dec SndReqStop,x