From 6076a1bd23fda9f376ca34231fc300f6cae91e22 Mon Sep 17 00:00:00 2001 From: Gwilym Inzani Date: Wed, 5 Jun 2024 17:25:56 +0100 Subject: [PATCH] Fix the DPL tracker usage --- examples/the-dungeon-puzzlers-lament/Cargo.toml | 3 ++- examples/the-dungeon-puzzlers-lament/src/sfx.rs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/the-dungeon-puzzlers-lament/Cargo.toml b/examples/the-dungeon-puzzlers-lament/Cargo.toml index 6abf2884..e51f6597 100644 --- a/examples/the-dungeon-puzzlers-lament/Cargo.toml +++ b/examples/the-dungeon-puzzlers-lament/Cargo.toml @@ -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] diff --git a/examples/the-dungeon-puzzlers-lament/src/sfx.rs b/examples/the-dungeon-puzzlers-lament/src/sfx.rs index 2eadd8dc..d5d5952f 100644 --- a/examples/the-dungeon-puzzlers-lament/src/sfx.rs +++ b/examples/the-dungeon-puzzlers-lament/src/sfx.rs @@ -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>, } impl<'a> Sfx<'a> {