]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Toccata CD audio volume control.
authorToni Wilen <twilen@winuae.net>
Sun, 1 Feb 2015 14:53:15 +0000 (16:53 +0200)
committerToni Wilen <twilen@winuae.net>
Sun, 1 Feb 2015 14:53:15 +0000 (16:53 +0200)
sndboard.cpp

index 72541fc30cf092e813b07721c292778132618496..46ed86dc192f03313a5d69e2a020bd282c9353d3 100644 (file)
@@ -172,6 +172,9 @@ static void calculate_volume(void)
        if (currprefs.sound_toccata_mixer) {
                sound_paula_volume[0] = get_volume_in(ad1848_regs[4]);
                sound_paula_volume[1] = get_volume_in(ad1848_regs[5]);
+
+               sound_cd_volume[0] = get_volume_in(ad1848_regs[2]);
+               sound_cd_volume[1] = get_volume_in(ad1848_regs[3]);
        }
 }