GB Audio: Fix zombie mode bit masking
Vicki Pfau vi@endrift.com
Sat, 08 Jul 2017 21:13:54 -0700
2 files changed,
2 insertions(+),
0 deletions(-)
M
CHANGES
→
CHANGES
@@ -168,6 +168,7 @@ - Qt: Fix patch loading while a game is running
- Qt: Fix shader selector on Ubuntu (fixes mgba.io/i/767) - GB Serialize: Fix timer serialization - GB Audio: Fix incorrect channel 4 iteration + - GB Audio: Fix zombie mode bit masking Misc: - Qt: Add language selector - GBA Timer: Improve accuracy of timers
M
src/gb/audio.c
→
src/gb/audio.c
@@ -702,6 +702,7 @@ envelope->initialVolume = GBAudioRegisterSweepGetInitialVolume(value);
if (!envelope->stepTime) { // TODO: Improve "zombie" mode ++envelope->currentVolume; + envelope->currentVolume &= 0xF; } _updateEnvelopeDead(envelope); envelope->nextStep = envelope->stepTime;