All pastes #1644294 Raw Edit

teuf

public text v1 · immutable
#1644294 ·published 2009-10-26 21:07 UTC
rendered paste body
diff --git a/src/itdb_itunesdb.c b/src/itdb_itunesdb.cindex c27f972..ac3280c 100644--- a/src/itdb_itunesdb.c+++ b/src/itdb_itunesdb.c@@ -1262,6 +1262,9 @@ Itdb_iTunesDB *itdb_new (void)     itdb->version = 0x13;     itdb->id = ((guint64)g_random_int () << 32) | 	((guint64)g_random_int ());+    itdb->priv->pid = ((guint64)g_random_int () << 32) |+	((guint64)g_random_int ());+    itdb->priv->lang = 0x656e;     return itdb; } @@ -3566,7 +3569,7 @@ static void mk_mhbd (FExport *fexp, guint32 children)   put32lint (cts, children);   put64lint (cts, fexp->itdb->id);   /* 0x20 */-  put16lint (cts, 2); /* 2 on iPhone 3.0 and Nano 5G,+  put16lint (cts, 1); /* 2 on iPhone 3.0 and Nano 5G, 			 1 on iPod Color and iPod Classic */    /* 0x22 */