]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
IOCTL CD audio mode play end didn't return end position.
authorToni Wilen <twilen@winuae.net>
Thu, 5 Jul 2018 16:59:06 +0000 (19:59 +0300)
committerToni Wilen <twilen@winuae.net>
Thu, 5 Jul 2018 16:59:06 +0000 (19:59 +0300)
od-win32/blkdev_win32_ioctl.cpp

index 7573b46812e246cd3310fa384a33e71faf96acee..c14ded99f9772036a4e10572f2a61867e0c5becd 100644 (file)
@@ -715,7 +715,7 @@ static bool cdda_play2 (struct dev_info_ioctl *ciw, int *outpos)
        }
 
 end:
-
+       *outpos = cdda_pos;
        if (mode) {
                ioctl_next_cd_audio_buffer_callback(-1);
                if (restart)