Browse Source

Removed backtrace console

pull/19/head
Andrea Ciliberti 3 years ago
parent
commit
a8b00bbed3
  1. 2
      ctru-rs/src/lib.rs

2
ctru-rs/src/lib.rs

@ -14,8 +14,6 @@ pub fn init() {
// Panic Hook setup // Panic Hook setup
let default_hook = std::panic::take_hook(); let default_hook = std::panic::take_hook();
let new_hook = Box::new(move |info: &PanicInfo| { let new_hook = Box::new(move |info: &PanicInfo| {
let _bt_console = console::Console::default();
println!("\x1b[1;31m\n--------------------------------------------------"); println!("\x1b[1;31m\n--------------------------------------------------");
default_hook(info); default_hook(info);
println!("\nPress SELECT to exit the software"); println!("\nPress SELECT to exit the software");

Loading…
Cancel
Save