diff options
author | Mike Pavone <pavone@retrodev.com> | 2013-06-16 13:42:13 -0700 |
---|---|---|
committer | Mike Pavone <pavone@retrodev.com> | 2013-06-16 13:42:13 -0700 |
commit | 0a7995ec919cc21fe19a8b8a53512b2c979bba5f (patch) | |
tree | 99f7ef5674ee2fbff0254c46644c796b2cec4c85 /ym2612.c | |
parent | adcc84b8c3600bc6497c21ac10b1b8c85f264676 (diff) |
Fix modulation condition for operator 2
Diffstat (limited to 'ym2612.c')
-rw-r--r-- | ym2612.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -293,7 +293,7 @@ void ym_run(ym2612_context * context, uint32_t to_cycle) } break; case 2://Operator 2 - if (chan->algorithm != 1 && chan->algorithm != 2 || chan->algorithm != 7) { + if (chan->algorithm != 1 && chan->algorithm != 2 && chan->algorithm != 7) { //modulate by Operator 1 mod = context->operators[op-2].output >> YM_MOD_SHIFT; } |