Browse Source

Fix example

pull/63/head
TechiePi 2 years ago
parent
commit
53d35dd7d9
  1. 4
      ctru-rs/examples/system-language-region-model.rs

4
ctru-rs/examples/system-language-region-model.rs

@ -13,8 +13,8 @@ fn main() {
let _console = Console::init(gfx.top_screen.borrow_mut()); let _console = Console::init(gfx.top_screen.borrow_mut());
println!("\x1b[0;0H{}", format!("Region: {:?}", cfgu.get_region().unwrap())); println!("\x1b[0;0H{}", format!("Region: {:?}", cfgu.get_region().unwrap()));
println!("\x1b[0;10H{}", format!("Language: {:?}", cfgu.get_language().unwrap())); println!("\x1b[10;0H{}", format!("Language: {:?}", cfgu.get_language().unwrap()));
println!("\x1b[0;20H{}", format!("Model: {:?}", cfgu.get_model().unwrap())); println!("\x1b[20;0H{}", format!("Model: {:?}", cfgu.get_model().unwrap()));
// Main loop // Main loop
while apt.main_loop() { while apt.main_loop() {

Loading…
Cancel
Save