mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-16 12:54:40 +00:00
Remove gSystemHeap and use _buffersSegmentEnd instead, make buffer alignments explicit for gcc (#1901)
* Remove gSystemHeap and use _buffersSegmentEnd instead, make buffer alignments explicit for gcc * ALIGNEDn -> ALIGNED(n), reposition alignment attribute for PreNmiBuff * Correct positioning of ALIGNED for filter data in audio/lib/data.c * Add ALIGNED to TypenameMacros * ALIGNED(4) on same line for PreNmiBuff * Revert audio load.c change, to be submitted separately
This commit is contained in:
parent
6e2ea18154
commit
c521f1f8ae
16 changed files with 45 additions and 40 deletions
|
@ -46,7 +46,8 @@ void Idle_ThreadEntry(void* arg) {
|
|||
PRINTF("ダイナミックバッファのサイズは %d キロバイトです\n", 0x92);
|
||||
PRINTF("FIFOバッファのサイズは %d キロバイトです\n", 0x60);
|
||||
PRINTF("YIELDバッファのサイズは %d キロバイトです\n", 3);
|
||||
PRINTF("オーディオヒープのサイズは %d キロバイトです\n", ((intptr_t)gSystemHeap - (intptr_t)gAudioHeap) / 1024);
|
||||
PRINTF("オーディオヒープのサイズは %d キロバイトです\n",
|
||||
((intptr_t)&gAudioHeap[ARRAY_COUNT(gAudioHeap)] - (intptr_t)gAudioHeap) / 1024);
|
||||
PRINTF(VT_RST);
|
||||
|
||||
osCreateViManager(OS_PRIORITY_VIMGR);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "global.h"
|
||||
|
||||
u8 sYaz0DataBuffer[0x400];
|
||||
ALIGNED(16) u8 sYaz0DataBuffer[0x400];
|
||||
u8* sYaz0DataBufferEnd;
|
||||
uintptr_t sYaz0CurRomStart;
|
||||
size_t sYaz0CurSize;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue