mirror of
https://github.com/libretro/gambatte-libretro.git
synced 2024-11-22 23:39:58 +00:00
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:
parent
37a4014abb
commit
da74f640c3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user