Browse Source

Fix generated main using now-removed panic handler

pull/47/head
Ian Chamberlain 1 year ago
parent
commit
7d6ddb2ef8
No known key found for this signature in database
GPG Key ID: AE5484D09405AA60
  1. 2
      src/command.rs

2
src/command.rs

@ -521,8 +521,6 @@ romfs_dir = "romfs"
const CUSTOM_MAIN_RS: &str = r#"use ctru::prelude::*; const CUSTOM_MAIN_RS: &str = r#"use ctru::prelude::*;
fn main() { fn main() {
ctru::use_panic_handler();
let apt = Apt::new().unwrap(); let apt = Apt::new().unwrap();
let mut hid = Hid::new().unwrap(); let mut hid = Hid::new().unwrap();
let gfx = Gfx::new().unwrap(); let gfx = Gfx::new().unwrap();

Loading…
Cancel
Save