Mercurial > repos > blastem
comparison 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 |
comparison
equal
deleted
inserted
replaced
2283:6f6f21d0c396 | 2284:5a53a8453241 |
---|---|
35 uint8_t am; | 35 uint8_t am; |
36 uint8_t env_phase; | 36 uint8_t env_phase; |
37 uint8_t ssg; | 37 uint8_t ssg; |
38 uint8_t inverted; | 38 uint8_t inverted; |
39 uint8_t phase_overflow; | 39 uint8_t phase_overflow; |
40 uint8_t key_on; | |
40 } ym_operator; | 41 } ym_operator; |
41 | 42 |
42 typedef struct { | 43 typedef struct { |
43 FILE * logfile; | 44 FILE * logfile; |
44 uint16_t fnum; | 45 uint16_t fnum; |