Mercurial > repos > blastem
comparison ym2612.c @ 381:7815ebbbd705
Fix modulation shift value
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 03 Jun 2013 23:44:11 -0700 |
parents | 1c8d74f2ab0b |
children | b904859964e5 |
comparison
equal
deleted
inserted
replaced
380:1c8d74f2ab0b | 381:7815ebbbd705 |
---|---|
155 } | 155 } |
156 } | 156 } |
157 } | 157 } |
158 | 158 |
159 #define YM_VOLUME_DIVIDER 2 | 159 #define YM_VOLUME_DIVIDER 2 |
160 #define YM_MOD_SHIFT 4 | 160 #define YM_MOD_SHIFT 1 |
161 | 161 |
162 void ym_run(ym2612_context * context, uint32_t to_cycle) | 162 void ym_run(ym2612_context * context, uint32_t to_cycle) |
163 { | 163 { |
164 //printf("Running YM2612 from cycle %d to cycle %d\n", context->current_cycle, to_cycle); | 164 //printf("Running YM2612 from cycle %d to cycle %d\n", context->current_cycle, to_cycle); |
165 //TODO: Fix channel update order OR remap channels in register write | 165 //TODO: Fix channel update order OR remap channels in register write |