mirror of
https://github.com/encounter/nod-rs.git
synced 2025-12-21 02:39:14 +00:00
Add Disc::detect for detecting disc image format
This commit is contained in:
@@ -92,11 +92,7 @@ fn info_file(path: &Path) -> nod::Result<()> {
|
||||
} else if header.is_gamecube() {
|
||||
// TODO
|
||||
} else {
|
||||
println!(
|
||||
"Invalid GC/Wii magic: {:#010X}/{:#010X}",
|
||||
header.gcn_magic.get(),
|
||||
header.wii_magic.get()
|
||||
);
|
||||
println!("Invalid GC/Wii magic: {:#x?}/{:#x?}", header.gcn_magic, header.wii_magic);
|
||||
}
|
||||
println!();
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user