Print the actual effect character

This commit is contained in:
Gwilym Inzani 2024-08-28 16:10:26 +01:00
parent 040d3d5604
commit ea792f4768

View file

@ -439,7 +439,10 @@ pub fn parse_module(module: &Module) -> agb_tracker_interop::Track {
} }
} }
e => { e => {
eprintln!("Unsupported effect {e:X}xy"); let effect_char = char::from_digit(e as u32, 36)
.unwrap_or('?')
.to_ascii_uppercase();
eprintln!("Unsupported effect {effect_char}xy");
PatternEffect::None PatternEffect::None
} }