Skip to content

Commit

Permalink
Make audio a little quieter
Browse files Browse the repository at this point in the history
Avoid the filter overflowing sometimes
  • Loading branch information
Daft-Freak committed Aug 17, 2022
1 parent bc4ce80 commit 593630c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/DMGAPU.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -986,8 +986,8 @@ void DMGAPU::sampleOutput()
if(outputSelect & 0x80)
left += ch4Val * leftVol;

left *= 0x22;
right *= 0x22;
left *= 0x20;
right *= 0x20;

// filter
int32_t outLeft = 0, outRight = 0;
Expand Down

0 comments on commit 593630c

Please sign in to comment.