Revert sound volume change.

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

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) << 6;
*stream++ = ((so1 + ratio / 2) / ratio) << 6;
*stream++ = ((so2 + ratio / 2) / ratio) << 5;
*stream++ = ((so1 + ratio / 2) / ratio) << 5;
so1 = (borderSample & 0xFFFF0000) - so1Tmp;
so2 = ((borderSample << 16) & 0xFFFFFFFF) - so2Tmp;