all repos — mgba @ 338486338215add02c7aba0e2ddcdb2094417c78

mGBA Game Boy Advance Emulator

GBA Audio: Fix GB audio channels being too quiet
Jeffrey Pfau jeffrey@endrift.com
Thu, 01 Jan 2015 23:19:16 -0800
commit

338486338215add02c7aba0e2ddcdb2094417c78

parent

9933c58eec36216f79469eaeff03e51914342896

2 files changed, 2 insertions(+), 1 deletions(-)

jump to
M CHANGESCHANGES

@@ -38,6 +38,7 @@ - GBA Video: Fix sprite mis-ordering behavior in some cases (fixes #168)

- 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
M src/gba/gba-audio.csrc/gba/gba-audio.c

@@ -744,7 +744,7 @@

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;