Virtual Boy: fix sweep not working

This commit is contained in:
tildearrow 2022-10-16 00:53:12 -05:00
parent d5692318d6
commit 8e64ecd23a
1 changed files with 1 additions and 1 deletions

View File

@ -335,7 +335,7 @@ int DivPlatformVB::dispatch(DivCommand c) {
chWrite(4,0x07,modulation);
if (modulation!=0) {
chan[c.chan].envHigh&=~0x70;
chan[c.chan].envHigh|=0x10;
chan[c.chan].envHigh|=0x40;
} else {
chan[c.chan].envHigh&=~0x70;
}