Increase sound volume.

git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@13 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
This commit is contained in:
sinamas 2007-08-24 05:11:08 +00:00
parent 6d38c2db1d
commit 37a4014abb

View File

@ -126,8 +126,8 @@ void PSG::fill_buffer(uint16_t *stream, const unsigned samples) {
so1 += so1Tmp;
so2 += so2Tmp;
*stream++ = ((so2 + ratio / 2) / ratio) << 5;
*stream++ = ((so1 + ratio / 2) / ratio) << 5;
*stream++ = ((so2 + ratio / 2) / ratio) << 6;
*stream++ = ((so1 + ratio / 2) / ratio) << 6;
so1 = (borderSample & 0xFFFF0000) - so1Tmp;
so2 = ((borderSample << 16) & 0xFFFFFFFF) - so2Tmp;