Merge branch 'master' of https://github.com/pret/pokeemerald into upcoming
This commit is contained in:
commit
48d49b40c5
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
|||
static void *sHeapStart;
|
||||
static u32 sHeapSize;
|
||||
|
||||
EWRAM_DATA u8 gHeap[HEAP_SIZE] = {0};
|
||||
ALIGNED(4) EWRAM_DATA u8 gHeap[HEAP_SIZE] = {0};
|
||||
|
||||
void PutMemBlockHeader(void *block, struct MemBlock *prev, struct MemBlock *next, u32 size)
|
||||
{
|
||||
|
|
|
@ -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 a new issue