diff --git a/installer/wad/0001000154484246.tmd b/installer/wad/0001000154484246.tmd index 67b814f..fecebaa 100644 Binary files a/installer/wad/0001000154484246.tmd and b/installer/wad/0001000154484246.tmd differ diff --git a/main/source/Neek/bootneek.cpp b/main/source/Neek/bootneek.cpp index ee245f2..5d85deb 100644 --- a/main/source/Neek/bootneek.cpp +++ b/main/source/Neek/bootneek.cpp @@ -1,5 +1,3 @@ - - #include #include #include @@ -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; -} +} \ No newline at end of file diff --git a/main/source/Tools/SelectIos.cpp b/main/source/Tools/SelectIos.cpp index 3d04b78..c9aef08 100644 --- a/main/source/Tools/SelectIos.cpp +++ b/main/source/Tools/SelectIos.cpp @@ -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; diff --git a/main/source/Tools/SelectIos.h b/main/source/Tools/SelectIos.h index 2c50089..dee0e29 100644 --- a/main/source/Tools/SelectIos.h +++ b/main/source/Tools/SelectIos.h @@ -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);