Upgrade DTK and Extract more assets
Fixes alignment of extracted assets. Extracted assets are currently unused except for font.c. logoNintendoData not extracted from bootdll.rel but its loader is decompiled.
This commit is contained in:
parent
c339a272f6
commit
7e38ff60b0
7 changed files with 93 additions and 10 deletions
15
src/REL/bootDll/nintendo_data.c
Normal file
15
src/REL/bootDll/nintendo_data.c
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#include "common.h"
|
||||
|
||||
extern u8 logoNintendoData[];
|
||||
|
||||
void *logoReadNintendo(void)
|
||||
{
|
||||
u32 *src = (u32 *)logoNintendoData;
|
||||
u32 size = *src++;
|
||||
void *dst = HuMemDirectMalloc(HEAP_DATA, size);
|
||||
int decode_type = *src++;
|
||||
if(dst) {
|
||||
HuDecodeData(src, dst, size, decode_type);
|
||||
}
|
||||
return dst;
|
||||
}
|
||||
|
|
@ -1 +1 @@
|
|||
#include "game/ank8x8_4b.inc"
|
||||
#include "ank8x8_4b.inc"
|
||||
Loading…
Add table
Add a link
Reference in a new issue