diff --git a/agb/src/display/tiled/vram_manager.rs b/agb/src/display/tiled/vram_manager.rs index 1da86d9f..6253da75 100644 --- a/agb/src/display/tiled/vram_manager.rs +++ b/agb/src/display/tiled/vram_manager.rs @@ -11,7 +11,7 @@ const PALETTE_BACKGROUND: MemoryMapped1DArray = #[cfg(debug_assertions)] unsafe fn debug_unreachable_unchecked(message: &'static str) -> ! { - unreachable!(message); + unreachable!("{}", message); } #[cfg(not(debug_assertions))]