Mercurial > repos > blastem
comparison ym2612.h @ 1696:956c1cce05e2 mame_interp
Merge from default
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 24 Jan 2019 19:15:59 -0800 |
parents | 804f13c090b4 |
children | 5278b6e44fc1 |
comparison
equal
deleted
inserted
replaced
1648:b7ecd0d6a77b | 1696:956c1cce05e2 |
---|---|
16 #define NUM_OPERATORS (4*NUM_CHANNELS) | 16 #define NUM_OPERATORS (4*NUM_CHANNELS) |
17 | 17 |
18 #define YM_OPT_WAVE_LOG 1 | 18 #define YM_OPT_WAVE_LOG 1 |
19 | 19 |
20 typedef struct { | 20 typedef struct { |
21 int16_t *mod_src[2]; | |
21 uint32_t phase_counter; | 22 uint32_t phase_counter; |
22 uint16_t envelope; | 23 uint16_t envelope; |
23 int16_t output; | 24 int16_t output; |
24 uint16_t total_level; | 25 uint16_t total_level; |
25 uint16_t sustain_level; | 26 uint16_t sustain_level; |