aboutsummaryrefslogtreecommitdiff
path: root/ctr-std/src/panicking.rs
diff options
context:
space:
mode:
authorFenrir <[email protected]>2017-06-06 17:10:20 -0600
committerFenrir <[email protected]>2017-07-10 11:30:57 -0600
commita572fa0a5aca2c990ecc5a8a0aaf48df4b67c4f2 (patch)
tree21cd16fab40e0d8368f06f383d47e6741ea9c383 /ctr-std/src/panicking.rs
parentHandle linking in ctru-rs build script (diff)
downloadctru-rs-a572fa0a5aca2c990ecc5a8a0aaf48df4b67c4f2.tar.xz
ctru-rs-a572fa0a5aca2c990ecc5a8a0aaf48df4b67c4f2.zip
Update libraries for ctru-sys changes
Diffstat (limited to 'ctr-std/src/panicking.rs')
-rw-r--r--ctr-std/src/panicking.rs6
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.
//