Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

psx: Updates to panic info for 1.81.0 (~Jun 2024) #31

Merged
merged 3 commits into from
Aug 25, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
re-add the info.message() output (oops!)
  • Loading branch information
hornc committed Aug 25, 2024
commit 421fab87deca4a897cde6d18e7999789f2b934ce
2 changes: 2 additions & 0 deletions psx/src/panic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ fn min_panic(info: &core::panic::PanicInfo) {
println!("Panicked at unknown location")
},
}
println!("{}", info.message());
}

fn normal_panic(info: &core::panic::PanicInfo) {
Expand All @@ -67,6 +68,7 @@ fn normal_panic(info: &core::panic::PanicInfo) {
dprintln!(txt, "Panicked at unknown location");
},
}
dprintln!(txt, "{}", info.message());
fb.draw_sync();
fb.wait_vblank();
fb.swap();
Expand Down