summaryrefslogtreecommitdiffstats
path: root/src/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/common.h b/src/common.h
index 19ce881..6e1441a 100644
--- a/src/common.h
+++ b/src/common.h
@@ -84,10 +84,11 @@ extern "C" {
#define DEVICE_IPHONE4S 14
#define MODE_UNKNOWN -1
-#define MODE_DFU 0
-#define MODE_RECOVERY 1
-#define MODE_RESTORE 2
-#define MODE_NORMAL 3
+#define MODE_WTF 0
+#define MODE_DFU 1
+#define MODE_RECOVERY 2
+#define MODE_RESTORE 3
+#define MODE_NORMAL 4
#define FLAG_QUIT 1
#define FLAG_DEBUG 2
@@ -149,10 +150,11 @@ struct idevicerestore_client_t {
};
static struct idevicerestore_mode_t idevicerestore_modes[] = {
- { 0, "DFU" },
- { 1, "Recovery" },
- { 2, "Restore" },
- { 3, "Normal" },
+ { 0, "WTF" },
+ { 1, "DFU" },
+ { 2, "Recovery" },
+ { 3, "Restore" },
+ { 4, "Normal" },
{ -1, NULL }
};