mirror of
https://github.com/libretro/gambatte-libretro.git
synced 2024-11-26 17:30:23 +00:00
Increase sound volume.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@13 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
This commit is contained in:
parent
6d38c2db1d
commit
37a4014abb
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user