summaryrefslogtreecommitdiff
path: root/rbutil/sansapatcher/sansapatcher.h
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2007-03-15 23:26:47 +0000
committerDave Chapman <dave@dchapman.com>2007-03-15 23:26:47 +0000
commite815601afb0eabe1ef59a2e8d1e0a746c4c33c34 (patch)
tree69ba3d9bc54042bafa03b5917f2a45dc454a1705 /rbutil/sansapatcher/sansapatcher.h
parent4a812912846dd5f02f3c8aa81af59b2d1cb67b65 (diff)
downloadrockbox-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.h4
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 @@
28extern unsigned char* sectorbuf; 28extern 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
35char* get_parttype(int pt); 33char* get_parttype(int pt);
36int read_partinfo(struct sansa_t* sansa, int silent); 34int read_partinfo(struct sansa_t* sansa, int silent);