common.h fully removed. common_structs.h incorporated into new game/gamework_data.h header along with parts of variables.h (Other parts were moved to more appropriate headers). functions.h split into unsplit.h and board_unsplit.h
15 lines
No EOL
321 B
C
15 lines
No EOL
321 B
C
#include "game/data.h"
|
|
|
|
#include "logoNintendoData.inc"
|
|
|
|
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;
|
|
} |