mirror of
https://gitlab.com/Nanolx/homebrewfilter.git
synced 2024-11-24 18:16:56 +01:00
add check_neek2o back
This commit is contained in:
parent
837143a3d3
commit
8d2513e849
Binary file not shown.
@ -1,5 +1,3 @@
|
||||
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <malloc.h>
|
||||
@ -31,12 +29,8 @@ int LoadXmlFile(const char* filename, struct SSettingsNeek2o *Settings);
|
||||
}
|
||||
#endif //__cplusplus
|
||||
|
||||
|
||||
|
||||
void ExitApp();
|
||||
|
||||
|
||||
|
||||
int boot_neek2o()
|
||||
{
|
||||
int allfound = 0;
|
||||
@ -161,4 +155,4 @@ int boot_neek2o()
|
||||
ExitApp();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
@ -15,6 +15,15 @@ int bootmii = 0;
|
||||
int nandemu = 0;
|
||||
int priiloader = 0;
|
||||
|
||||
bool check_neek2o() {
|
||||
|
||||
if(fopen("sd1:/sneek/kernel.bin", "rb") || fopen("usb1:/sneek/kernel.bin", "rb"))
|
||||
return true;
|
||||
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
s32 NandReadFile(char *filepath, u8 **buffer, u32 *filesize)
|
||||
{
|
||||
s32 Fd;
|
||||
|
@ -13,6 +13,7 @@ s32 NandReadFile(char *filepath, u8 **buffer, u32 *filesize);
|
||||
int get_priiloader();
|
||||
int get_bootmii();
|
||||
int get_nandemu();
|
||||
bool check_neek2o();
|
||||
void set_priiloader(int choice);
|
||||
void set_bootmii(int choice);
|
||||
void set_nandemu(int choice);
|
||||
|
Loading…
Reference in New Issue
Block a user