Skip to content

Commit

Permalink
add missing constant
Browse files Browse the repository at this point in the history
  • Loading branch information
Kurausukun committed Feb 10, 2024
1 parent d7a361c commit 3342fda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pokedex_cry_screen.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 3342fda

Please sign in to comment.