summaryrefslogtreecommitdiffstats
path: root/src/common.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2012-02-05 22:38:10 +0100
committerGravatar Nikias Bassen2012-02-05 22:38:10 +0100
commit99158d9fd32a4a7961bea09e78ab249c2c3752c9 (patch)
tree81984f39997b22a6cc9f92896452b38a3f786aa0 /src/common.h
parent38d2408e87fe026df316067766ad5328d4284390 (diff)
downloadidevicerestore-99158d9fd32a4a7961bea09e78ab249c2c3752c9.tar.gz
idevicerestore-99158d9fd32a4a7961bea09e78ab249c2c3752c9.tar.bz2
add support for 0x1222 wtf 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 }
};