diff options
Diffstat (limited to 'ctr-std/src/panicking.rs')
| -rw-r--r-- | ctr-std/src/panicking.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ctr-std/src/panicking.rs b/ctr-std/src/panicking.rs index efb828a..0de44be 100644 --- a/ctr-std/src/panicking.rs +++ b/ctr-std/src/panicking.rs @@ -63,8 +63,8 @@ pub fn begin_panic<M: Any + Send + Display>(msg: M, file_line: &(&'static str, u let msg = Box::new(msg); let (file, line) = *file_line; - use libctru::console::consoleInit; - use libctru::gfx::gfxScreen_t; + use libctru::consoleInit; + use libctru::gfxScreen_t; // set up a new console, overwriting whatever was on the top screen // before we started panicking @@ -74,7 +74,7 @@ pub fn begin_panic<M: Any + Send + Display>(msg: M, file_line: &(&'static str, u println!(" {}", msg); // Terminate the process to ensure that all threads cease when panicking. - unsafe { ::libctru::svc::svcExitProcess() } + unsafe { ::libctru::svcExitProcess() } // On 3DS hardware, code execution will have terminated at the above function. // |