GBA Audio: Fix GB audio channels being too quiet

This commit is contained in:
Jeffrey Pfau 2015-01-01 23:19:16 -08:00
parent 9933c58eec
commit 3384863382
2 changed files with 2 additions and 1 deletions

View File

@ -38,6 +38,7 @@ Bugfixes:
- GBA Video: Fix window interactions with 16-color mode 0 mosaic
- GBA Video: Fix sprite boundary conditions with mosaic
- Video: Fix FFmpeg crashing when the file extension is wrong
- GBA Audio: Fix GB audio channels being too quiet (fixes #159)
Misc:
- Qt: Disable sync to video by default
- GBA: Exit cleanly on FATAL if the port supports it

View File

@ -744,7 +744,7 @@ static int _applyBias(struct GBAAudio* audio, int sample) {
static void _sample(struct GBAAudio* audio) {
int16_t sampleLeft = 0;
int16_t sampleRight = 0;
int psgShift = 6 - audio->volume;
int psgShift = 5 - audio->volume;
if (audio->ch1Left) {
sampleLeft += audio->ch1.sample;