mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 00:01:34 +11:00
Fix the DPL tracker usage
This commit is contained in:
parent
7332c8a5f0
commit
6076a1bd23
|
@ -8,7 +8,8 @@ edition = "2021"
|
|||
|
||||
[dependencies]
|
||||
agb = { version = "0.20.5", path = "../../agb" }
|
||||
agb_tracker = { version = "0.20.5", path = "../../tracker/agb-tracker", default-features = false, features = ["xm"] }
|
||||
agb_tracker = { version = "0.20.5", path = "../../tracker/agb-tracker", features = ["xm"] }
|
||||
|
||||
slotmap = { version = "1", default-features = false }
|
||||
|
||||
[profile.dev]
|
||||
|
|
|
@ -20,7 +20,7 @@ static SWICTH_TOGGLES: &[&[u8]] = &[include_wav!("sfx/switch_toggle1.wav")];
|
|||
|
||||
pub struct Sfx<'a> {
|
||||
mixer: &'a mut Mixer<'a>,
|
||||
tracker: Tracker,
|
||||
tracker: Tracker<Mixer<'a>>,
|
||||
}
|
||||
|
||||
impl<'a> Sfx<'a> {
|
||||
|
|
Loading…
Reference in a new issue