mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 08:11:33 +11:00
Correct vibrato code generation
This commit is contained in:
parent
c1eaae64e1
commit
431833b216
|
@ -342,7 +342,7 @@ impl quote::ToTokens for PatternEffect {
|
||||||
}
|
}
|
||||||
PatternEffect::Vibrato(waveform, amount, speed) => {
|
PatternEffect::Vibrato(waveform, amount, speed) => {
|
||||||
let amount = amount.to_raw();
|
let amount = amount.to_raw();
|
||||||
quote! { Vibrato(#waveform, #amount, #speed) }
|
quote! { Vibrato(#waveform, agb_tracker::__private::Num::from_raw(#amount), #speed) }
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue