diff --git a/zip_nes_roms.pl b/zip_nes_roms.pl index 74492f3..809102b 100755 --- a/zip_nes_roms.pl +++ b/zip_nes_roms.pl @@ -43,7 +43,7 @@ sub zlist(@){ foreach $item (@list) { printf ("zipping: %s", $item); - zip [$item] => "$item.zip", -Level => Z_BEST_COMPRESSION, Minimal => 1, TextFlag => 0; + zip [$item] => "$item.zip", -Level => Z_BEST_COMPRESSION, Minimal => 1, TextFlag => 0, BinModeIn => 1, AutoClose => 1, CanonicalName => 1; if(length($ZipError) > 0){ printf (" Warning: unable to zip %s - %s\n", $item, $ZipError);