diff options
author | Dave Chapman <dave@dchapman.com> | 2007-03-15 23:26:47 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2007-03-15 23:26:47 +0000 |
commit | e815601afb0eabe1ef59a2e8d1e0a746c4c33c34 (patch) | |
tree | 69ba3d9bc54042bafa03b5917f2a45dc454a1705 /rbutil/sansapatcher/sansapatcher.h | |
parent | 4a812912846dd5f02f3c8aa81af59b2d1cb67b65 (diff) | |
download | rockbox-e815601afb0eabe1ef59a2e8d1e0a746c4c33c34.tar.gz rockbox-e815601afb0eabe1ef59a2e8d1e0a746c4c33c34.zip |
Implement the ability to embed a bootloader in sansapatcher - the --install option installs the embedded bootloader, and running without any parameters will cause a prompt to be displayed asking the user if they want to install, uninstall or cancel. sansapatcher now requres a PP5022.mi4 file (the Rockbox bootloader) in the current directory when building.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12794 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/sansapatcher/sansapatcher.h')
-rw-r--r-- | rbutil/sansapatcher/sansapatcher.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/rbutil/sansapatcher/sansapatcher.h b/rbutil/sansapatcher/sansapatcher.h index 97b73dd0b9..d422aa5932 100644 --- a/rbutil/sansapatcher/sansapatcher.h +++ b/rbutil/sansapatcher/sansapatcher.h | |||
@@ -28,9 +28,7 @@ | |||
28 | extern unsigned char* sectorbuf; | 28 | extern unsigned char* sectorbuf; |
29 | 29 | ||
30 | #define FILETYPE_MI4 0 | 30 | #define FILETYPE_MI4 0 |
31 | #ifdef WITH_BOOTOBJS | 31 | #define FILETYPE_INTERNAL 1 |
32 | #define FILETYPE_INTERNAL 1 | ||
33 | #endif | ||
34 | 32 | ||
35 | char* get_parttype(int pt); | 33 | char* get_parttype(int pt); |
36 | int read_partinfo(struct sansa_t* sansa, int silent); | 34 | int read_partinfo(struct sansa_t* sansa, int silent); |