diff options
Diffstat (limited to '')
| -rw-r--r-- | audio/src/channel.rs (renamed from graphics/src/audio/channel.rs) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/src/audio/channel.rs b/audio/src/channel.rs index a1ad144..7ed61a6 100644 --- a/graphics/src/audio/channel.rs +++ b/audio/src/channel.rs @@ -5,7 +5,7 @@ type Music = raylib::audio::Music<'static>; macro_rules! load_audio { ($handle:expr, $filepath:expr) => {{ let mut audio = if cfg!(any(feature = "static", target_arch = "wasm32")) { - let bytes = include_bytes!(concat!("../../../", $filepath)); + let bytes = include_bytes!(concat!("../../", $filepath)); let vec = Vec::from(bytes); $handle.new_music_from_memory(".wav", &vec)? } else { |