oops
This commit is contained in:
parent
0bceaab046
commit
ddb3911d0d
1 changed files with 1 additions and 1 deletions
|
@ -1199,7 +1199,7 @@ void CgbSound(void)
|
|||
else
|
||||
{
|
||||
unsigned int envMask = 0xF;
|
||||
*nrx2ptr = (envelopeStepTimeAndDir & newMask) + (channels->envelopeVolume << 4);
|
||||
*nrx2ptr = (envelopeStepTimeAndDir & envMask) + (channels->envelopeVolume << 4);
|
||||
*nrx4ptr = channels->n4 | 0x80;
|
||||
if (ch == 1 && !(*nrx0ptr & 0x08))
|
||||
*nrx4ptr = channels->n4 | 0x80;
|
||||
|
|
Loading…
Reference in a new issue