This repository has been archived on 2022-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
Luma3DS-3GX/loader/source/main.c
2016-07-01 20:27:28 +02:00

13 lines
235 B
C

#include "memory.h"
#include "cache.h"
void main(void)
{
void *payloadAddress = (void *)0x23F00000;
memcpy(payloadAddress, (void*)0x24F00000, *(u32 *)0x24FFFF04);
flushCaches();
((void (*)())payloadAddress)();
}