summaryrefslogtreecommitdiffstats
path: root/rbutil/ipodpatcher/main.c
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2010-01-28 09:37:05 +0000
committerDave Chapman <dave@dchapman.com>2010-01-28 09:37:05 +0000
commit428064016bdc569dbb4b794dca35e06634254c12 (patch)
treee773a0b4059584f3e8c0078340db04405ed287e1 /rbutil/ipodpatcher/main.c
parent4cb879d08d2e0c5d9cc664f2eee3651188ab58ed (diff)
downloadrockbox-428064016bdc569dbb4b794dca35e06634254c12.tar.gz
rockbox-428064016bdc569dbb4b794dca35e06634254c12.zip
Revert most of r24361 - it was committed in error.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24362 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/ipodpatcher/main.c')
-rw-r--r--rbutil/ipodpatcher/main.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/rbutil/ipodpatcher/main.c b/rbutil/ipodpatcher/main.c
index 412c8733f9..6ec05666ac 100644
--- a/rbutil/ipodpatcher/main.c
+++ b/rbutil/ipodpatcher/main.c
@@ -33,7 +33,7 @@
#ifdef RELEASE
#undef VERSION
-#define VERSION "4.1 with v3.0 bootloaders (v1.0 for 2nd Gen Nano)"
+#define VERSION "4.0 with v3.0 bootloaders (v1.0 for 2nd Gen Nano)"
#endif
@@ -398,6 +398,15 @@ int main(int argc, char* argv[])
if (ipod.ramsize > 0) { printf("(%dMB RAM) ",ipod.ramsize); }
printf("(\"%s\")\n",ipod.macpod ? "macpod" : "winpod");
+ if (ipod.ipod_directory[ipod.ososimage].vers == 0x10000) {
+ fprintf(stderr,"[ERR] *** ipodpatcher does not support the 2nd Generation Nano! ***\n");
+#ifdef WITH_BOOTOBJS
+ printf("Press ENTER to exit ipodpatcher :");
+ fgets(yesno,4,stdin);
+#endif
+ return 0;
+ }
+
if (ipod.macpod) {
print_macpod_warning();
}