From 57c5d8938080de9f381c608f5391db1c866f1bfd Mon Sep 17 00:00:00 2001 From: ekeeke31 Date: Sat, 30 Apr 2011 15:23:45 +0000 Subject: [PATCH] amplified YM2413 default output by 2 --- source/sound/ym2413.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/sound/ym2413.c b/source/sound/ym2413.c index ea705a2..b310024 100644 --- a/source/sound/ym2413.c +++ b/source/sound/ym2413.c @@ -1723,8 +1723,8 @@ void YM2413Update(long int *buffer, int length) rhythm_calc(&ym2413.P_CH[0], (ym2413.noise_rng>>0)&1 ); } - /* Melody (MO) & Rythm (RO) outputs mixing */ - out = output[0] + (output[1] * 2); + /* Melody (MO) & Rythm (RO) outputs mixing & amplification */ + out = (output[0] + (output[1] * 2)) * 2; /* Store to stereo sound buffer */ *buffer++ = out;