mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-01-23 05:25:01 +03:00
Added jp audio
This commit is contained in:
parent
1db38edc99
commit
f29a21e254
30
assets/yaml/jp/rev0/ast_audio.yaml
Normal file
30
assets/yaml/jp/rev0/ast_audio.yaml
Normal file
@ -0,0 +1,30 @@
|
||||
:config:
|
||||
force: true
|
||||
header:
|
||||
code:
|
||||
- '#include "sys.h"'
|
||||
- '#include "sf64audio_provisional.h"'
|
||||
|
||||
audio_setup:
|
||||
type: NAUDIO:V1:AUDIO_SETUP
|
||||
audio_seq:
|
||||
size: 0x3AFD0
|
||||
offset: 0xE9950
|
||||
audio_bank:
|
||||
size: 0x1F120
|
||||
offset: 0x124920
|
||||
audio_table:
|
||||
size: 0x700C20
|
||||
offset: 0x143A40
|
||||
|
||||
audio_sample_bank_table:
|
||||
{ type: NAUDIO:V1:AUDIO_TABLE, format: SAMPLE, offset: 0xC1360, symbol: gSampleBankTableInit }
|
||||
|
||||
audio_seq_table:
|
||||
{ type: NAUDIO:V1:AUDIO_TABLE, format: SEQUENCE, offset: 0xC13B0, symbol: gSeqTableInit }
|
||||
|
||||
audio_soundfont_table:
|
||||
{ type: NAUDIO:V1:AUDIO_TABLE, format: SOUNDFONT, offset: 0xC17E0, symbol: gSoundFontTableInit }
|
||||
|
||||
audio_seq_font_table:
|
||||
{ type: ARRAY, count: 283, array_type: u8, offset: 0xC1A00, symbol: gSeqFontTableInit }
|
@ -27,7 +27,7 @@ d064229a32cc05ab85e2381ce07744eb3ffaf530:
|
||||
gbi: F3DEX
|
||||
sort: OFFSET
|
||||
output:
|
||||
binary: sf64.otr
|
||||
binary: mods/sf64jp.otr
|
||||
code: src/assets
|
||||
headers: include/assets
|
||||
modding: src/assets
|
||||
|
@ -610,7 +610,6 @@ void AudioLoad_RelocateFont(s32 fontId, uintptr_t fontBaseAddr, SampleBankRelocI
|
||||
// }
|
||||
// }
|
||||
AudioTable* table = AudioLoad_GetLoadTable(FONT_TABLE);
|
||||
printf("fontId: %d\n", fontId);
|
||||
SoundFont* font = Audio_LoadFont(table->entries[fontId], fontId);
|
||||
|
||||
gSoundFontList[fontId] = *font;
|
||||
@ -714,7 +713,6 @@ void* AudioLoad_AsyncLoadInner(s32 tableType, s32 id, s32 nChunks, s32 retData,
|
||||
return ResourceGetDataByCrc((uint64_t) table->entries[id].romAddr);
|
||||
case FONT_TABLE:
|
||||
gFontLoadStatus[id] = LOAD_STATUS_COMPLETE;
|
||||
printf("fontId: %d\n", id);
|
||||
osSendMesg(retQueue, OS_MESG_32(retData << 0x18), OS_MESG_NOBLOCK);
|
||||
return Audio_LoadFont(table->entries[id], id);
|
||||
case SAMPLE_TABLE:
|
||||
|
Loading…
Reference in New Issue
Block a user