diff 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
line wrap: on
line diff
--- a/cdd_mcu.c	Mon Feb 07 21:31:58 2022 -0800
+++ b/cdd_mcu.c	Mon Feb 07 21:54:57 2022 -0800
@@ -667,5 +667,5 @@
 			context->last_nibble_cycle = 0;
 		}
 	}
-	context->next_byte_cycle -= deduction;
+	context->next_byte_cycle -= cd_deduction;
 }