mcd, fix SEEK status reporting
authorkub <derkub@gmail.com>
Wed, 4 Nov 2020 17:18:24 +0000 (18:18 +0100)
committerkub <derkub@gmail.com>
Wed, 4 Nov 2020 17:18:24 +0000 (18:18 +0100)
pico/cd/cdd.c

index 0ef9a12..66f370d 100644 (file)
@@ -1111,7 +1111,7 @@ void cdd_process(void)
       cdd.status = CD_PLAY;
 
       /* return track index in RS2-RS3 */
-      set_reg16(0x38, (CD_SEEK << 8) | 0x02);
+      set_reg16(0x38, (CD_SEEK << 8) | 0x0f);
       set_reg16(0x3a, 0x0000);
       set_reg16(0x3c, 0x0000);
       set_reg16(0x3e, 0x0000);