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/source/main.c

22 lines
306 B
C
Raw Normal View History

2015-08-05 03:57:37 +02:00
/*
* main.c
* by Reisyukaku
2015-08-15 04:28:26 +02:00
* Copyright (c) 2015 All Rights Reserved
2015-08-05 03:57:37 +02:00
*
* Minimalist CFW for N3DS
*/
#include "fs.h"
#include "firm.h"
2015-08-05 11:54:00 +02:00
#include "draw.h"
2015-08-05 03:57:37 +02:00
void main(){
2015-08-05 03:57:37 +02:00
mountSD();
setupCFW();
}
void startCFW(){
if(!loadFirm()) return;
if(!patchFirm()) return;
2015-08-05 03:57:37 +02:00
launchFirm();
}