From 419e7b7bc386c5a0d4e30b5ffe3a93d4fb0401a6 Mon Sep 17 00:00:00 2001 From: Jaby Date: Sat, 5 Oct 2024 11:08:41 +0200 Subject: [PATCH] Fix CDDA support of psxcdgen_ex --- src/Tools/psxcdgen_ex/Cargo.toml | 2 +- src/Tools/psxcdgen_ex/src/config_reader/xml.rs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Tools/psxcdgen_ex/Cargo.toml b/src/Tools/psxcdgen_ex/Cargo.toml index c15d93df..cc1bb11e 100644 --- a/src/Tools/psxcdgen_ex/Cargo.toml +++ b/src/Tools/psxcdgen_ex/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "psxcdgen_ex" -version = "1.1.0" +version = "1.1.1" edition = "2021" [profile.release] diff --git a/src/Tools/psxcdgen_ex/src/config_reader/xml.rs b/src/Tools/psxcdgen_ex/src/config_reader/xml.rs index 163383d1..97d7d990 100644 --- a/src/Tools/psxcdgen_ex/src/config_reader/xml.rs +++ b/src/Tools/psxcdgen_ex/src/config_reader/xml.rs @@ -39,12 +39,12 @@ mod interleaved_file_tag { } mod cdda_tag { - pub const NAME: &'static str = "AltLicense"; + pub const NAME: &'static str = "AudioTrack"; pub mod attribute {} } mod alt_license_tag { - pub const NAME: &'static str = "AudioTrack"; + pub const NAME: &'static str = "AltLicense"; pub mod attribute { pub const TEXT: &'static str = "text"; } @@ -123,7 +123,7 @@ fn parse_description(description: roxmltree::Node, config: &mut Configuration) - print_warning("Alternate license ignored because a (alternate) license was already provided".to_owned()) } }, - _ => () + _ => () } } }