mirror of https://github.com/pret/pokeemerald.git
unsigned int -> u32
This commit is contained in:
parent
ddb3911d0d
commit
2e892c6961
|
@ -1198,7 +1198,7 @@ void CgbSound(void)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
unsigned int envMask = 0xF;
|
u32 envMask = 0xF;
|
||||||
*nrx2ptr = (envelopeStepTimeAndDir & envMask) + (channels->envelopeVolume << 4);
|
*nrx2ptr = (envelopeStepTimeAndDir & envMask) + (channels->envelopeVolume << 4);
|
||||||
*nrx4ptr = channels->n4 | 0x80;
|
*nrx4ptr = channels->n4 | 0x80;
|
||||||
if (ch == 1 && !(*nrx0ptr & 0x08))
|
if (ch == 1 && !(*nrx0ptr & 0x08))
|
||||||
|
|
Loading…
Reference in New Issue