mirror of
https://github.com/holub/mame
synced 2025-05-22 21:58:57 +03:00
chdman: fixed -extractcd of images with postgaps. CHDs do not need reconversion, this was an -extractcd problem only. [R. Belmont]
This commit is contained in:
parent
5a0ec84b62
commit
9acf3375ed
@ -829,6 +829,9 @@ chd_error cdrom_parse_metadata(chd_file *chd, cdrom_toc *toc)
|
||||
track->pgsubsize = 0;
|
||||
cdrom_convert_type_string_to_pregap_info(pgtype, track);
|
||||
cdrom_convert_subtype_string_to_pregap_info(pgsub, track);
|
||||
|
||||
/* set the postgap info */
|
||||
track->postgap = postgap;
|
||||
}
|
||||
|
||||
/* if we got any tracks this way, we're done */
|
||||
|
@ -1661,7 +1661,7 @@ static int do_extractcd(int argc, char *argv[], int param)
|
||||
f %= 75;
|
||||
m = s / 60;
|
||||
s %= 60;
|
||||
fprintf(outfile, " POSTGAP %02d:%02d:%02d\n", m, s, f);
|
||||
fprintf(outfile, " POSTGAP %02d:%02d:%02d\n", m, s, f);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user