diff options
author | Dave Chapman <dave@dchapman.com> | 2009-10-13 14:39:28 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2009-10-13 14:39:28 +0000 |
commit | c06bc788c95696cc73b66d2ad336e965ba0f4c05 (patch) | |
tree | b243de7f019e3fac025771bf17a568ef54eb5efd /rbutil/rbutilqt | |
parent | 71e79e7dacfe64511a8eabca87136e4a98b46114 (diff) | |
download | rockbox-c06bc788c95696cc73b66d2ad336e965ba0f4c05.tar.gz rockbox-c06bc788c95696cc73b66d2ad336e965ba0f4c05.zip |
Fix Nano2G bootloader installation - no longer assume that the OSOS image is the first.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23154 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt')
-rw-r--r-- | rbutil/rbutilqt/base/bootloaderinstallipod.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/base/bootloaderinstallipod.cpp b/rbutil/rbutilqt/base/bootloaderinstallipod.cpp index ca243a944c..117783890c 100644 --- a/rbutil/rbutilqt/base/bootloaderinstallipod.cpp +++ b/rbutil/rbutilqt/base/bootloaderinstallipod.cpp | |||
@@ -104,7 +104,7 @@ void BootloaderInstallIpod::installStage2(void) | |||
104 | emit done(true); | 104 | emit done(true); |
105 | return; | 105 | return; |
106 | } | 106 | } |
107 | if(getmodel(&ipod,(ipod.ipod_directory[0].vers>>8)) < 0) { | 107 | if(getmodel(&ipod,(ipod.ipod_directory[ipod.ososimage].vers>>8)) < 0) { |
108 | emit logItem(tr("Unknown version number in firmware (%1)").arg( | 108 | emit logItem(tr("Unknown version number in firmware (%1)").arg( |
109 | ipod.ipod_directory[0].vers), LOGERROR); | 109 | ipod.ipod_directory[0].vers), LOGERROR); |
110 | emit done(true); | 110 | emit done(true); |