Clean up print commands
This commit is contained in:
parent
ef54bd8db2
commit
450ea06d5c
|
@ -68,8 +68,6 @@ pub fn calculate_psx_lbas(cd_desc: &mut CDDesc) {
|
|||
cur_lba = update_lba(&mut file.properties, cur_lba, sector_count);
|
||||
}
|
||||
}
|
||||
|
||||
println!("cur_lba: {}", cur_lba);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -36,14 +36,15 @@ fn run_main(cmd_line: CommandLine) -> Result<(), Error> {
|
|||
let encoding_functions = cmd_line.system_type.get_encoding_functions();
|
||||
let desc = psxcdgen_ex::process(config_reader::parse_xml(std::fs::read_to_string(cmd_line.input_file)?)?, encoding_functions.lba_calculator)?;
|
||||
|
||||
/*
|
||||
// Describes how to use the the file_map
|
||||
println!("\n<== Planschbecken ==>");
|
||||
for rand_item in desc.create_file_map() {
|
||||
println!("{}", rand_item.0);
|
||||
}
|
||||
println!("\n<== Planschbecken ==>");
|
||||
|
||||
println!("\n<== Planschbecken ==>");*/
|
||||
|
||||
psxcdgen_ex::dump_content(&desc, tool_helper::open_output(None)?)?;
|
||||
println!("\n<== Planschbecken ==>\nStart encoding");
|
||||
write_image(desc, encoding_functions.encoder, cmd_line.output_type, cmd_line.output_file)
|
||||
}
|
||||
|
||||
|
@ -51,7 +52,7 @@ fn main() {
|
|||
match CommandLine::try_parse() {
|
||||
Ok(cmd_line) => {
|
||||
match run_main(cmd_line) {
|
||||
Ok(_) => println!("\n<== Planschbecken End ==>"),
|
||||
Ok(_) => (),
|
||||
Err(error) => println!("{}", error)
|
||||
}
|
||||
},
|
||||
|
|
|
@ -84,7 +84,6 @@ impl PathTable {
|
|||
let mut size_bytes = 0;
|
||||
|
||||
Self::collect_member(root).into_iter().for_each(|element| {
|
||||
println!("PT: {} ^{}", element.name, element.parent_table_id);
|
||||
size_bytes += PathTableL::calculate_size_for(element.name.as_ref());
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue