diff ym2612.h @ 2284:5a53a8453241

Fix envelope key scaling when CH3 special mode is active. Fixes sound effects in Toy Story and Maui Mallard
author Michael Pavone <pavone@retrodev.com>
date Fri, 13 Jan 2023 01:02:08 -0800
parents 74112041b2c7
children dec3287c9394
line wrap: on
line diff
--- a/ym2612.h	Mon Jan 09 00:15:26 2023 -0800
+++ b/ym2612.h	Fri Jan 13 01:02:08 2023 -0800
@@ -37,6 +37,7 @@
 	uint8_t  ssg;
 	uint8_t  inverted;
 	uint8_t  phase_overflow;
+	uint8_t  key_on;
 } ym_operator;
 
 typedef struct {