# HG changeset patch # User Mike Pavone # Date 1371415333 25200 # Node ID b1bc1947d949be8c28812e75eea3727854689a0e # Parent 042c4ba4a83898cab514bc8ea2b3d4bbe81810fa Fix modulation condition for operator 2 diff -r 042c4ba4a838 -r b1bc1947d949 ym2612.c --- a/ym2612.c Sun Jun 16 13:25:45 2013 -0700 +++ b/ym2612.c Sun Jun 16 13:42:13 2013 -0700 @@ -293,7 +293,7 @@ } 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; }