# | Line 180 | Line 180 | static void find_hfs_partition(cdrom_dri | |
---|---|---|
180 | { | |
181 | info.start_byte = 0; | |
182 | uint8 *map = new uint8[512]; | |
183 | + | D(bug("Looking for HFS partitions on CD-ROM...\n")); |
184 | ||
185 | // Search first 64 blocks for HFS partition | |
186 | for (int i=0; i<64; i++) { | |
187 | if (Sys_read(info.fh, map, i * 512, 512) != 512) | |
188 | break; | |
189 | + | D(bug(" block %d, signature '%c%c' (%02x%02x)\n", i, map[0], map[1], map[0], map[1])); |
190 | ||
191 | // Not a partition map block? Then look at next block | |
192 | uint16 sig = (map[0] << 8) | map[1]; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |