Mercurial > repos > blastem
diff cdd_mcu.c @ 2142:d9151d0894c7
Fix some CD-ROM emulation issues
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 24 Mar 2022 23:43:43 -0700 |
parents | 793715149f16 |
children | c3ee42c89b27 |
line wrap: on
line diff
--- a/cdd_mcu.c Tue Mar 22 20:20:25 2022 -0700 +++ b/cdd_mcu.c Thu Mar 24 23:43:43 2022 -0700 @@ -602,7 +602,7 @@ if (context->next_subcode_int_cycle != CYCLE_NEVER) { context->subcode_int_pending = 1; } - if ((context->status == DS_PLAY || context->status == DS_PAUSE) && context->head_pba >= LEADIN_SECTORS) { + if ((context->status == DS_PLAY || context->status == DS_PAUSE) && context->head_pba >= LEADIN_SECTORS && !context->seeking) { context->current_sector_byte = 0; context->current_subcode_byte = 0; context->next_subcode_cycle = context->cycle;