Fix the DPL tracker usage

This commit is contained in:
Gwilym Inzani 2024-06-05 17:25:56 +01:00
parent 7332c8a5f0
commit 6076a1bd23
2 changed files with 3 additions and 2 deletions

View file

@ -8,7 +8,8 @@ edition = "2021"
[dependencies] [dependencies]
agb = { version = "0.20.5", path = "../../agb" } 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 } slotmap = { version = "1", default-features = false }
[profile.dev] [profile.dev]

View file

@ -20,7 +20,7 @@ static SWICTH_TOGGLES: &[&[u8]] = &[include_wav!("sfx/switch_toggle1.wav")];
pub struct Sfx<'a> { pub struct Sfx<'a> {
mixer: &'a mut Mixer<'a>, mixer: &'a mut Mixer<'a>,
tracker: Tracker, tracker: Tracker<Mixer<'a>>,
} }
impl<'a> Sfx<'a> { impl<'a> Sfx<'a> {