mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-24 19:19:48 +02:00
fixes
This commit is contained in:
1 parent
047b334752
commit
11b594bec6
4 files changed
+9
-14
No files matched your search
@@ -5,30 +5,20 @@
|
|||||||
#include <TargetConditionals.h>
|
#include <TargetConditionals.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef NO_CHECKRAIN
|
|
||||||
extern unsigned char checkra1n[];
|
extern unsigned char checkra1n[];
|
||||||
extern unsigned int checkra1n_len;
|
extern unsigned int checkra1n_len;
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef NO_KPF
|
|
||||||
extern unsigned char checkra1n_kpf_pongo[];
|
extern unsigned char checkra1n_kpf_pongo[];
|
||||||
extern unsigned int checkra1n_kpf_pongo_len;
|
extern unsigned int checkra1n_kpf_pongo_len;
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef NO_RAMDISK
|
|
||||||
extern unsigned char ramdisk_dmg[];
|
extern unsigned char ramdisk_dmg[];
|
||||||
extern unsigned int ramdisk_dmg_len;
|
extern unsigned int ramdisk_dmg_len;
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef NO_BINPACK
|
|
||||||
extern unsigned char binpack_dmg[];
|
extern unsigned char binpack_dmg[];
|
||||||
extern unsigned int binpack_dmg_len;
|
extern unsigned int binpack_dmg_len;
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef NO_CUSTOM_PONGO
|
|
||||||
extern unsigned char Pongo_bin[];
|
extern unsigned char Pongo_bin[];
|
||||||
extern unsigned int Pongo_bin_len;
|
extern unsigned int Pongo_bin_len;
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(__APPLE__) && (TARGET_OS_IPHONE || defined(DEV_BUILD))
|
#if defined(__APPLE__) && (TARGET_OS_IPHONE || defined(DEV_BUILD))
|
||||||
extern unsigned char libcheckra1nhelper_dylib[];
|
extern unsigned char libcheckra1nhelper_dylib[];
|
||||||
|
|||||||
+2
-2
@@ -26,10 +26,10 @@ OBJECTS += xxd-checkra1n-kpf-pongo.o
|
|||||||
else
|
else
|
||||||
CFLAGS += -DNO_KPF
|
CFLAGS += -DNO_KPF
|
||||||
endif
|
endif
|
||||||
ifneq ($(NO_BINPACK),1)
|
ifneq ($(NO_OVERLAY),1)
|
||||||
OBJECTS += xxd-binpack.dmg.o
|
OBJECTS += xxd-binpack.dmg.o
|
||||||
else
|
else
|
||||||
CFLAGS += -DNO_BINPACK
|
CFLAGS += -DNO_OVERLAY
|
||||||
endif
|
endif
|
||||||
ifneq ($(NO_CHECKRAIN),1)
|
ifneq ($(NO_CHECKRAIN),1)
|
||||||
OBJECTS += xxd-checkra1n.o
|
OBJECTS += xxd-checkra1n.o
|
||||||
|
|||||||
+6
-1
@@ -15,7 +15,12 @@ unsigned char* checkra1n = NULL;
|
|||||||
unsigned int checkra1n_len = 0;
|
unsigned int checkra1n_len = 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef NO_BINPACK
|
#ifdef NO_OVERLAY
|
||||||
unsigned char* binpack_dmg = NULL;
|
unsigned char* binpack_dmg = NULL;
|
||||||
unsigned int binpack_dmg_len = 0;
|
unsigned int binpack_dmg_len = 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef NO_CUSTOM_PONGO
|
||||||
|
unsigned char* Pongo_bin = NULL;
|
||||||
|
unsigned int Pongo_bin_len = 0;
|
||||||
|
#endif
|
||||||
+1
-1
@@ -58,7 +58,7 @@ void *pongo_usb_callback(void *arg) {
|
|||||||
upload_pongo_file(handle, **ramdisk_to_upload, ramdisk_dmg_len);
|
upload_pongo_file(handle, **ramdisk_to_upload, ramdisk_dmg_len);
|
||||||
issue_pongo_command(handle, "ramdisk");
|
issue_pongo_command(handle, "ramdisk");
|
||||||
}
|
}
|
||||||
#ifdef NO_BINPACK
|
#ifdef NO_OVERLAY
|
||||||
if (binpack_dmg_len != 0)
|
if (binpack_dmg_len != 0)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user