diff --git a/tracker/agb-tracker-interop/src/lib.rs b/tracker/agb-tracker-interop/src/lib.rs index 0edf0bc2..17429fef 100644 --- a/tracker/agb-tracker-interop/src/lib.rs +++ b/tracker/agb-tracker-interop/src/lib.rs @@ -342,7 +342,7 @@ impl quote::ToTokens for PatternEffect { } PatternEffect::Vibrato(waveform, amount, speed) => { let amount = amount.to_raw(); - quote! { Vibrato(#waveform, #amount, #speed) } + quote! { Vibrato(#waveform, agb_tracker::__private::Num::from_raw(#amount), #speed) } } };