changeset 2266:5083bc84fd84

Finish seeking after a CDD STOP command is sent
author Michael Pavone <pavone@retrodev.com>
date Sat, 24 Dec 2022 14:02:14 -0800
parents 5c28534e6e09
children 94cca8b8429e
files cdd_mcu.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/cdd_mcu.c	Fri Dec 23 15:07:06 2022 -0800
+++ b/cdd_mcu.c	Sat Dec 24 14:02:14 2022 -0800
@@ -168,6 +168,9 @@
 	uint32_t prev_pba = context->head_pba;
 	switch (context->status)
 	{
+	case DS_STOP:
+		handle_seek(context);
+		break;
 	case DS_PLAY:
 		handle_seek(context);
 		if (!context->seeking) {