Mercurial > repos > blastem
comparison cdd_mcu.c @ 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 | a8af8d898a7c |
children | 827ab6dd534a |
comparison
equal
deleted
inserted
replaced
2265:5c28534e6e09 | 2266:5083bc84fd84 |
---|---|
166 { | 166 { |
167 gate_array[GAO_CDD_CTRL] |= BIT_MUTE; | 167 gate_array[GAO_CDD_CTRL] |= BIT_MUTE; |
168 uint32_t prev_pba = context->head_pba; | 168 uint32_t prev_pba = context->head_pba; |
169 switch (context->status) | 169 switch (context->status) |
170 { | 170 { |
171 case DS_STOP: | |
172 handle_seek(context); | |
173 break; | |
171 case DS_PLAY: | 174 case DS_PLAY: |
172 handle_seek(context); | 175 handle_seek(context); |
173 if (!context->seeking) { | 176 if (!context->seeking) { |
174 context->head_pba++; | 177 context->head_pba++; |
175 } | 178 } |