unsigned int -> u32

This commit is contained in:
Kurausukun 2021-08-08 22:22:50 -04:00
parent ddb3911d0d
commit 2e892c6961

View file

@ -1198,7 +1198,7 @@ void CgbSound(void)
}
else
{
unsigned int envMask = 0xF;
u32 envMask = 0xF;
*nrx2ptr = (envelopeStepTimeAndDir & envMask) + (channels->envelopeVolume << 4);
*nrx4ptr = channels->n4 | 0x80;
if (ch == 1 && !(*nrx0ptr & 0x08))