GB Audio: Fix zombie mode bit masking
Vicki Pfau vi@endrift.com
Sat, 08 Jul 2017 21:13:54 -0700
2 files changed,
3 insertions(+),
0 deletions(-)
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;