mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-11 17:30:25 +00:00
variables.h cleaning: migrate audio variables (#2504)
* migrate audio variables, fix libultra thing * remove extra newlines * fix * add required pragmas * fix bss * audio table fixes * fix bss
This commit is contained in:
parent
80564bf40b
commit
0c5282ba66
26 changed files with 122 additions and 110 deletions
|
@ -1228,7 +1228,7 @@ void AudioLoad_Init(void* heap, u32 heapSize) {
|
|||
}
|
||||
|
||||
// Set audio tables pointers
|
||||
gAudioCtx.sequenceTable = (AudioTable*)gSequenceTable;
|
||||
gAudioCtx.sequenceTable = &gSequenceTable;
|
||||
gAudioCtx.soundFontTable = &gSoundFontTable;
|
||||
gAudioCtx.sampleBankTable = &gSampleBankTable;
|
||||
gAudioCtx.sequenceFontTable = gSequenceFontTable;
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
// Symbol definition
|
||||
|
||||
extern AudioTable gSampleBankTable;
|
||||
#pragma weak gSampleBankTable = sSampleBankTableHeader
|
||||
|
||||
// Externs for table
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
|
||||
// Symbol definition
|
||||
|
||||
extern AudioTable gSequenceTable;
|
||||
#pragma weak gSequenceTable = sSequenceTableHeader
|
||||
|
||||
// Externs for table
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
// Symbol definition
|
||||
|
||||
extern AudioTable gSoundFontTable;
|
||||
#pragma weak gSoundFontTable = sSoundFontTableHeader
|
||||
|
||||
// Externs for table
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue