From 19ebd494d39506cef81f09f02fb24a56607c54ed Mon Sep 17 00:00:00 2001 From: TechiePi Date: Fri, 21 Oct 2022 20:02:03 +0200 Subject: [PATCH] Add MiiData example --- ctru-rs/examples/mii-selector.rs | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/ctru-rs/examples/mii-selector.rs b/ctru-rs/examples/mii-selector.rs index 40c774e..ade3164 100644 --- a/ctru-rs/examples/mii-selector.rs +++ b/ctru-rs/examples/mii-selector.rs @@ -17,11 +17,12 @@ fn main() { let result = mii_selector.launch(); println!("\x1b[0;0HIs Mii selected?: {:?}", result.is_mii_selected); - println!("\x1b[2;0HValid checksum?: {:?}", result.valid_checksum()); - println!("\x1b[4;0HMii type: {:?}", result.mii_type); - println!("\x1b[6;0HMii checksum: {:?}", result.checksum); - println!("\x1b[8;0HName: {:?}", result.name()); - println!("\x1b[12;0HAuthor: {:?}", result.author()); + println!("\x1b[1;0HValid checksum?: {:?}", result.valid_checksum()); + println!("\x1b[2;0HMii type: {:?}", result.mii_type); + println!("\x1b[3;0HMii checksum: {:?}", result.checksum); + println!("\x1b[4;0HName: {:?}", result.name()); + println!("\x1b[5;0HAuthor: {:?}", result.author()); + println!("\x1b[5;0HDoes it have moles?: {:?}", result.mii_data.mole_details.is_enabled); // Main loop while apt.main_loop() {