comparison cdd_mcu.c @ 2096:460c93c19146

Fix CDD byte cycle counter deduction that got broken when I fixed the off-by-one on CD-DA
author Michael Pavone <pavone@retrodev.com>
date Mon, 07 Feb 2022 21:54:57 -0800
parents c732dcc9c61b
children 539450d905b3
comparison
equal deleted inserted replaced
2095:c732dcc9c61b 2096:460c93c19146
665 context->last_nibble_cycle -= cd_deduction; 665 context->last_nibble_cycle -= cd_deduction;
666 } else { 666 } else {
667 context->last_nibble_cycle = 0; 667 context->last_nibble_cycle = 0;
668 } 668 }
669 } 669 }
670 context->next_byte_cycle -= deduction; 670 context->next_byte_cycle -= cd_deduction;
671 } 671 }