mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
In preparation for use with sansapatcher, change portalplayer bootloaders to read firmwares in mi4 format.
When loading the OF: 1) first try to load from a hidden disk partition 2) try loading /System/OF.mi4 3) finally fall back to loading /System/OF.bin which is what the old bootloader used. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12802 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
1146418494
commit
14ed3ca8d8
8 changed files with 329 additions and 49 deletions
|
@ -30,6 +30,7 @@ struct partinfo {
|
|||
#define PARTITION_TYPE_FAT32 0x0b
|
||||
#define PARTITION_TYPE_FAT32_LBA 0x0c
|
||||
#define PARTITION_TYPE_FAT16 0x06
|
||||
#define PARTITION_TYPE_HIDDEN 0x84
|
||||
|
||||
/* returns a pointer to an array of 8 partinfo structs */
|
||||
struct partinfo* disk_init(IF_MV_NONVOID(int volume));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue