mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-11-15 01:26:34 +00:00
19 lines
381 B
C
19 lines
381 B
C
|
#include "utils.h"
|
||
|
#include "hwinit.h"
|
||
|
#include "loader.h"
|
||
|
|
||
|
|
||
|
int main(void) {
|
||
|
entrypoint_t entrypoint;
|
||
|
|
||
|
/* TODO: What other hardware init should we do here? */
|
||
|
|
||
|
/* This will load all remaining binaries off of the SD. */
|
||
|
entrypoint = load_payload();
|
||
|
|
||
|
/* TODO: What do we want to do in terms of argc/argv? */
|
||
|
entrypoint(0, NULL);
|
||
|
return 0;
|
||
|
}
|
||
|
|