[iso] add smart testing for Rock Ridge over Joliet

* Some ISO9660 images (such as Ubuntu) use both Joliet and Rock Ridge,
  so we have to make a choice which should be preferred.
* Since Rock Ridge allows a greater filename length compared to Joliet,
  we perform our scan pass with Joliet disabled, to find out if RR is
  being used and if a filename longer than 64 chars exist. If that is
  the case, we'll perform the extraction using RR, else we'll use Joliet.
* Also add Alt-J and Alt-K to toggle Joliet/Rock Ridge
* Closes #178
This commit is contained in:
Pete Batard 2013-10-14 00:02:32 +01:00
parent 5b2e4d1721
commit 3c438db3fd
4 changed files with 47 additions and 15 deletions

View file

@ -214,6 +214,7 @@ typedef struct {
// TODO: use a bitmask and #define tests for the following
uint8_t winpe;
BOOL has_4GB_file;
BOOL has_long_filename;
BOOL has_bootmgr;
BOOL has_efi;
BOOL has_win7_efi;