diff --git a/config/dol_slices.yml b/config/dol_slices.yml index 261ffcf8..f346303b 100644 --- a/config/dol_slices.yml +++ b/config/dol_slices.yml @@ -1,7 +1,7 @@ -libultra/gfxprint/gfxprint_locate.c: - .text: [0x8005B1EC, 0x8005B210] -libultra/gfxprint/gfxprint_locate8x8.c: - .text: [0x8005B210, 0x8005B238] +#libultra/gfxprint/gfxprint_locate.c: +# .text: [0x8005B1EC, 0x8005B210] +#libultra/gfxprint/gfxprint_locate8x8.c: +# .text: [0x8005B210, 0x8005B238] libforest/ReconfigBATs.c: .text: [0x8005adac, 0x8005aed4] JSystem/JKernel/JKRHeap.cpp: diff --git a/src/boot.c b/src/boot.c index 256c956e..32a07769 100644 --- a/src/boot.c +++ b/src/boot.c @@ -1,6 +1,6 @@ #include "boot.h" -static u8 nintendo_hi_0[0x9900]; +static u8 nintendo_hi_0[0x9900]; // This should be nintendo_hi_0.aw extern u32 *StringTable; u32 soundArenaAlloc(void){ @@ -15,7 +15,7 @@ u32 convert_partial_address(u32 add){ //TODO } -int LoadStringTable(char table){ https://decomp.me/scratch/7syDa +int LoadStringTable(char table){ //https://decomp.me/scratch/7syDa OSReport("ストリングテーブル読み込み開始\n"); osGetTime(); @@ -46,11 +46,13 @@ OSDVDFatalError(); } void sound_initial(void){ + Na_InitAudio(audioFatalCallback, 0, 0, nintendo_hi_0, 0x66a0, 0); OSReport("sizeof(nintendo_hi_0)=%08x\n", 0x9900); OSReport("実際のnintendo_hi_0.awのサイズ=%08x \n", 0x66a0); OSReport("ニンテンド\x81\x5B発生タイムラグまで寝てます(%dms)\x1B\x5B\x6D\n", 0x9c4); msleep(0x9c4); + } }