diff options
| author | Fenrir <[email protected]> | 2017-11-18 17:47:38 -0700 |
|---|---|---|
| committer | FenrirWolf <[email protected]> | 2017-11-18 18:20:21 -0700 |
| commit | 9f5d769afabc3bcaddf56568aced0df74a5fced6 (patch) | |
| tree | 41013f073f308aec847f143277904dd930008803 /ctr-std/src/panicking.rs | |
| parent | Merge pull request #44 from FenrirWolf/panic-unwind (diff) | |
| download | archived-ctru-rs-9f5d769afabc3bcaddf56568aced0df74a5fced6.tar.xz archived-ctru-rs-9f5d769afabc3bcaddf56568aced0df74a5fced6.zip | |
Update bindings for libctru v1.4.0
Diffstat (limited to 'ctr-std/src/panicking.rs')
| -rw-r--r-- | ctr-std/src/panicking.rs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/ctr-std/src/panicking.rs b/ctr-std/src/panicking.rs index 7047334..082b0de 100644 --- a/ctr-std/src/panicking.rs +++ b/ctr-std/src/panicking.rs @@ -431,8 +431,7 @@ fn default_hook(info: &PanicInfo) { // 3DS-specific code begins here - use libctru::{errorInit, errorText, errorDisp, - errorConf, errorType, CFG_Language}; + use libctru::{errorInit, errorText, errorDisp, errorConf}; use libc; let thread = thread_info::current_thread(); @@ -447,8 +446,8 @@ fn default_hook(info: &PanicInfo) { let mut error_conf: errorConf = mem::uninitialized(); errorInit(&mut error_conf, - errorType::ERROR_TEXT_WORD_WRAP, - CFG_Language::CFG_LANGUAGE_EN); + ::libctru::ERROR_TEXT_WORD_WRAP, + ::libctru::CFG_LANGUAGE_EN); errorText(&mut error_conf, error_text.as_ptr() as *const libc::c_char); // Display error |