Cue sheet: use FILE "*.raw" instead of "*.nrg"
This commit is contained in:
parent
bdca31c3fd
commit
76c2a9201f
|
@ -64,9 +64,13 @@ pub fn write_cue_sheet(img_path: &str, metadata: &NrgMetadata)
|
|||
}
|
||||
cue_name.set_extension("cue");
|
||||
|
||||
// Set the raw audio file's name
|
||||
let mut raw_name = cue_name.clone();
|
||||
raw_name.set_extension("raw");
|
||||
|
||||
// Write cue sheet
|
||||
let mut fd = try!(File::create(cue_name));
|
||||
try!(writeln!(fd, "FILE \"{}\" BINARY", img_name.to_string_lossy()));
|
||||
try!(writeln!(fd, "FILE \"{}\" BINARY", raw_name.to_string_lossy()));
|
||||
try!(write_cue_tracks(&mut fd, cuex_tracks));
|
||||
|
||||
Ok(())
|
||||
|
|
Loading…
Reference in New Issue