Virtual Boy: fix sweep not working
This commit is contained in:
parent
d5692318d6
commit
8e64ecd23a
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue