Fix channel 1 - 4 volume

This commit is contained in:
Jeffrey Pfau 2013-10-29 21:12:26 -07:00
parent 9fd181dba9
commit a87d30ed9f
1 changed files with 1 additions and 1 deletions

View File

@ -526,7 +526,7 @@ static int32_t _updateChannel4(struct GBAAudioChannel4* ch) {
static void _sample(struct GBAAudio* audio) { static void _sample(struct GBAAudio* audio) {
int32_t sampleLeft = 0; int32_t sampleLeft = 0;
int32_t sampleRight = 0; int32_t sampleRight = 0;
int psgShift = 1 + audio->volume; int psgShift = 6 - audio->volume;
if (audio->ch1Left) { if (audio->ch1Left) {
sampleLeft += audio->ch1.sample; sampleLeft += audio->ch1.sample;