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-02-08 03:37:03 +01:00
|
|
|
u8 main(){
|
2015-08-04 21:57:37 -04:00
|
|
|
mountSD();
|
2016-02-24 20:35:15 +01:00
|
|
|
loadSplash();
|
2016-02-25 20:19:20 +01:00
|
|
|
setupCFW();
|
2016-03-06 16:24:42 +01:00
|
|
|
if(!loadFirm()) return 0;
|
|
|
|
|
if(!patchFirm()) return 0;
|
2015-08-04 21:57:37 -04:00
|
|
|
launchFirm();
|
2016-03-05 23:27:02 +01:00
|
|
|
return 1;
|
2015-08-04 21:57:37 -04:00
|
|
|
}
|