mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-18 01:14:19 +01:00
oops
This commit is contained in:
parent
0bceaab046
commit
ddb3911d0d
@ -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…
x
Reference in New Issue
Block a user