cdimgtools: init at 0.3

This commit is contained in:
hhm
2019-02-26 22:17:21 -05:00
parent 749da56b0c
commit fdca55e6fe
4 changed files with 103 additions and 0 deletions
@@ -0,0 +1,12 @@
Fixes an error in nrgtool.
--- a/nrgtool
+++ b/nrgtool
@@ -162,7 +162,7 @@ sub process_file {
}
seek $nrg, 0, SEEK_SET if ($iff_only);
seek $nrg, $offset, SEEK_SET unless ($iff_only);
- while (my $_ = read_chunk($nrg, $iff)) {
+ while ($_ = read_chunk($nrg, $iff)) {
if ($_ < -1) {
warn "ERROR while reading an IFF chunk; aborting\n";
return;