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