mirror of https://github.com/pret/pokeemerald.git
Merge pull request #1980 from Kurausukun/dexcry
Missing Constant in Dex Cry Screen
This commit is contained in:
commit
954ba0a155
|
@ -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