mirror of https://github.com/mgba-emu/mgba.git
GB Audio: Fix zombie mode bit masking
This commit is contained in:
parent
b6c0d5307f
commit
15d66422a9
2
CHANGES
2
CHANGES
|
@ -1,4 +1,6 @@
|
|||
0.7.0: (Future)
|
||||
Bugfixes:
|
||||
- GB Audio: Fix zombie mode bit masking
|
||||
Misc:
|
||||
- GBA Timer: Use global cycles for timers
|
||||
|
||||
|
|
|
@ -702,6 +702,7 @@ bool _writeEnvelope(struct GBAudioEnvelope* envelope, uint8_t value) {
|
|||
if (!envelope->stepTime) {
|
||||
// TODO: Improve "zombie" mode
|
||||
++envelope->currentVolume;
|
||||
envelope->currentVolume &= 0xF;
|
||||
}
|
||||
_updateEnvelopeDead(envelope);
|
||||
envelope->nextStep = envelope->stepTime;
|
||||
|
|
Loading…
Reference in New Issue