diff options
author | Barry Wardell <rockbox@barrywardell.net> | 2007-03-16 14:41:55 +0000 |
---|---|---|
committer | Barry Wardell <rockbox@barrywardell.net> | 2007-03-16 14:41:55 +0000 |
commit | b8a5adfcdb7e2b03e363b382905d8f2f90e5de3f (patch) | |
tree | 020a3fa3b742f399e3c5b6ad4a42cec25c29348c | |
parent | a2ee6a66814191c851efb043802740b4d8d1ab0e (diff) |
Partition type 0x84 is "OS/2 hidden C: drive"
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12805 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | bootloader/main-pp.c | 2 | ||||
-rw-r--r-- | firmware/export/disk.h | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/bootloader/main-pp.c b/bootloader/main-pp.c index 4472a61aa8..1ab6ebdd6f 100644 --- a/bootloader/main-pp.c +++ b/bootloader/main-pp.c @@ -346,7 +346,7 @@ void* main(void) /* First try a (hidden) firmware partition */ printf("Trying firmware partition"); pinfo = disk_partinfo(1); - if(pinfo->type == PARTITION_TYPE_HIDDEN) + if(pinfo->type == PARTITION_TYPE_OS2_HIDDEN_C_DRIVE) { rc = load_mi4_part(loadbuffer, pinfo, MAX_LOADSIZE); if (rc < EOK) { diff --git a/firmware/export/disk.h b/firmware/export/disk.h index b9619be983..9672a6d318 100644 --- a/firmware/export/disk.h +++ b/firmware/export/disk.h @@ -27,10 +27,10 @@ struct partinfo { unsigned char type; }; -#define PARTITION_TYPE_FAT32 0x0b -#define PARTITION_TYPE_FAT32_LBA 0x0c -#define PARTITION_TYPE_FAT16 0x06 -#define PARTITION_TYPE_HIDDEN 0x84 +#define PARTITION_TYPE_FAT32 0x0b +#define PARTITION_TYPE_FAT32_LBA 0x0c +#define PARTITION_TYPE_FAT16 0x06 +#define PARTITION_TYPE_OS2_HIDDEN_C_DRIVE 0x84 /* returns a pointer to an array of 8 partinfo structs */ struct partinfo* disk_init(IF_MV_NONVOID(int volume)); |