diff options
Diffstat (limited to 'disk/part_dos.h')
-rw-r--r-- | disk/part_dos.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/disk/part_dos.h b/disk/part_dos.h index 1a5c377..cc3fa81 100644 --- a/disk/part_dos.h +++ b/disk/part_dos.h @@ -25,7 +25,13 @@ #define _DISK_PART_DOS_H +#ifdef CONFIG_ISO_PARTITION +/* Make the buffers bigger if ISO partition support is enabled -- CD-ROMS + have 2048 byte blocks */ +#define DEFAULT_SECTOR_SIZE 2048 +#else #define DEFAULT_SECTOR_SIZE 512 +#endif #define DOS_PART_TBL_OFFSET 0x1be #define DOS_PART_MAGIC_OFFSET 0x1fe |