From ea792f476857d6a6dd741853bc26e45517b4ee7f Mon Sep 17 00:00:00 2001 From: Gwilym Inzani Date: Wed, 28 Aug 2024 16:10:26 +0100 Subject: [PATCH] Print the actual effect character --- tracker/agb-xm-core/src/lib.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tracker/agb-xm-core/src/lib.rs b/tracker/agb-xm-core/src/lib.rs index d2ad32fc..8b5d1aab 100644 --- a/tracker/agb-xm-core/src/lib.rs +++ b/tracker/agb-xm-core/src/lib.rs @@ -439,7 +439,10 @@ pub fn parse_module(module: &Module) -> agb_tracker_interop::Track { } } 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 }