9b9f784c26
(First luma-powered CFW!)
14 lines
273 B
C
14 lines
273 B
C
/*
|
|
* loader.c
|
|
*/
|
|
|
|
#include "loader.h"
|
|
#include "fs.h"
|
|
|
|
#define PAYLOAD_ADDRESS 0x24F00000
|
|
|
|
void loadPayload(void){
|
|
if(fileExists("aurei/payloads/default.bin") &&
|
|
fileRead((u8 *)PAYLOAD_ADDRESS, "aurei/loader.bin", 0))
|
|
((void (*)())PAYLOAD_ADDRESS)();
|
|
} |