mirror of https://github.com/pret/pokeemerald.git
add missing constant
This commit is contained in:
parent
d7a361cef1
commit
3342fdafc2
|
@ -362,7 +362,7 @@ static void BufferCryWaveformSegment(void)
|
|||
else
|
||||
baseBuffer = gSoundInfo.pcmBuffer + (gSoundInfo.pcmDmaPeriod + 1 - gPcmDmaCounter) * gSoundInfo.pcmSamplesPerVBlank;
|
||||
|
||||
buffer = baseBuffer + 0x630;
|
||||
buffer = baseBuffer + PCM_DMA_BUF_SIZE;
|
||||
for (i = 0; i < ARRAY_COUNT(sDexCryScreen->cryWaveformBuffer); i++)
|
||||
sDexCryScreen->cryWaveformBuffer[i] = buffer[i * 2] * 2;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue