changeset 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 0407d812cb4a
files cdd_mcu.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;
 }