amplified YM2413 default output by 2

This commit is contained in:
ekeeke31 2011-04-30 15:23:45 +00:00
parent b088d33ce0
commit 57c5d89380

View File

@ -1723,8 +1723,8 @@ void YM2413Update(long int *buffer, int length)
rhythm_calc(&ym2413.P_CH[0], (ym2413.noise_rng>>0)&1 ); rhythm_calc(&ym2413.P_CH[0], (ym2413.noise_rng>>0)&1 );
} }
/* Melody (MO) & Rythm (RO) outputs mixing */ /* Melody (MO) & Rythm (RO) outputs mixing & amplification */
out = output[0] + (output[1] * 2); out = (output[0] + (output[1] * 2)) * 2;
/* Store to stereo sound buffer */ /* Store to stereo sound buffer */
*buffer++ = out; *buffer++ = out;