We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27c02e5 commit 1e64296Copy full SHA for 1e64296
psx/src/panic.rs
@@ -44,6 +44,7 @@ fn min_panic(info: &core::panic::PanicInfo) {
44
println!("Panicked at unknown location")
45
},
46
}
47
+ println!("{}", info.message());
48
49
50
fn normal_panic(info: &core::panic::PanicInfo) {
@@ -67,6 +68,7 @@ fn normal_panic(info: &core::panic::PanicInfo) {
67
68
dprintln!(txt, "Panicked at unknown location");
69
70
71
+ dprintln!(txt, "{}", info.message());
72
fb.draw_sync();
73
fb.wait_vblank();
74
fb.swap();
0 commit comments