diff options
author | Jörg Hohensohn <hohensoh@rockbox.org> | 2003-09-01 05:42:59 +0000 |
---|---|---|
committer | Jörg Hohensohn <hohensoh@rockbox.org> | 2003-09-01 05:42:59 +0000 |
commit | 20b61a2e8895e638fd64c4591a9d3bb1f5e5f098 (patch) | |
tree | ab62c0676d9fcd80acebb3dc24c638fb6212a5e0 | |
parent | 29563750ebc32027838fd5ea8c101383a8448aa3 (diff) | |
download | rockbox-20b61a2e8895e638fd64c4591a9d3bb1f5e5f098.tar.gz rockbox-20b61a2e8895e638fd64c4591a9d3bb1f5e5f098.zip |
version check removed, pointless since players
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3945 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/plugins/rockbox_flash.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/apps/plugins/rockbox_flash.c b/apps/plugins/rockbox_flash.c index ef9703e971..a9cb91bd2f 100644 --- a/apps/plugins/rockbox_flash.c +++ b/apps/plugins/rockbox_flash.c | |||
@@ -236,15 +236,9 @@ tImageHeader* GetSecondImage(void) | |||
236 | UINT32 pos = 0; /* default: not found */ | 236 | UINT32 pos = 0; /* default: not found */ |
237 | UINT32* pFlash = (UINT32*)FB; | 237 | UINT32* pFlash = (UINT32*)FB; |
238 | 238 | ||
239 | UINT16 version = *(UINT16*)(FB + VERS_ADR); | ||
240 | if (version < 200) /* at least 2.00 */ | ||
241 | { | ||
242 | return 0; /* not our flash layout */ | ||
243 | } | ||
244 | |||
245 | /* determine the first image position */ | 239 | /* determine the first image position */ |
246 | pos = pFlash[2] + pFlash[3]; /* position + size of the bootloader = after | 240 | pos = pFlash[2] + pFlash[3]; /* position + size of the bootloader |
247 | it */ | 241 | = after it */ |
248 | pos = (pos + 3) & ~3; /* be sure it's 32 bit aligned */ | 242 | pos = (pos + 3) & ~3; /* be sure it's 32 bit aligned */ |
249 | pImage1 = (tImageHeader*)pos; | 243 | pImage1 = (tImageHeader*)pos; |
250 | 244 | ||