This commit is contained in:
Lokathor 2022-10-13 20:20:57 -06:00
parent 90aa01d205
commit 5c40787c7b

View file

@ -10,7 +10,7 @@ use gba::{
#[panic_handler]
fn panic_handler(info: &core::panic::PanicInfo) -> ! {
if let Ok(mut logger) = MgbaBufferedLogger::try_new(MgbaMessageLevel::Fatal) {
write!(logger, "{info}").ok();
writeln!(logger, "{info}").ok();
}
loop {}
}