X-Git-Url: https://code.delx.au/refind/blobdiff_plain/38c626aab2a451ca669576e4c57e5fbf5da987ad..e07b72471fa62945801b4a4e3bcac662a1b4888d:/filesystems/fsw_iso9660.c diff --git a/filesystems/fsw_iso9660.c b/filesystems/fsw_iso9660.c index 271c924..697c440 100644 --- a/filesystems/fsw_iso9660.c +++ b/filesystems/fsw_iso9660.c @@ -282,7 +282,6 @@ static fsw_status_t fsw_iso9660_volume_mount(struct fsw_iso9660_volume *vol) struct iso9660_dirrec rootdir; int sua_pos; char *sig; - int skip; struct fsw_rock_ridge_susp_entry *entry; // read through the Volume Descriptor Set @@ -323,8 +322,8 @@ static fsw_status_t fsw_iso9660_volume_mount(struct fsw_iso9660_volume *vol) if (vol->primary_voldesc == NULL) return FSW_UNSUPPORTED; pvoldesc = vol->primary_voldesc; - if (ISOINT(pvoldesc->logical_block_size) != 2048) - return FSW_UNSUPPORTED; +// if (ISOINT(pvoldesc->logical_block_size) != 2048) +// return FSW_UNSUPPORTED; // get volume name for (i = 32; i > 0; i--) @@ -363,7 +362,6 @@ static fsw_status_t fsw_iso9660_volume_mount(struct fsw_iso9660_volume *vol) #if 1 status = fsw_block_get(vol, ISOINT(rootdir.extent_location), 0, &buffer); sig = (char *)buffer + sua_pos; - skip = 0; entry = (struct fsw_rock_ridge_susp_entry *)sig; if ( entry->sig[0] == 'S' && entry->sig[1] == 'P') @@ -376,7 +374,6 @@ static fsw_status_t fsw_iso9660_volume_mount(struct fsw_iso9660_volume *vol) // FSW_MSG_DEBUG((FSW_MSGSTR("fsw_iso9660_volume_mount: SP magic isn't valid\n"))); // DBG("fsw_iso9660_volume_mount: SP magic isn't valid\n"); } - skip = sp->skip; } #endif // release volume descriptors