diff --git a/ctru-rs/examples/title-info.rs b/ctru-rs/examples/title-info.rs index 2abb085..0faaadd 100644 --- a/ctru-rs/examples/title-info.rs +++ b/ctru-rs/examples/title-info.rs @@ -11,10 +11,14 @@ fn main() { let am = Am::init().expect("Couldn't obtain AM controller"); let _console = Console::init(gfx.top_screen.borrow_mut()); - let title_count = am.get_title_count(FsMediaType::Sd).expect("Failed to get title count"); + let title_count = am + .get_title_count(FsMediaType::Sd) + .expect("Failed to get title count"); println!("This 3DS has {title_count} titles on its SD Card:"); - let title_list = am.get_title_list(FsMediaType::Sd).expect("Failed to get title list"); + let title_list = am + .get_title_list(FsMediaType::Sd) + .expect("Failed to get title list"); for id in title_list { println!("{id:x}"); } diff --git a/ctru-rs/src/services/mod.rs b/ctru-rs/src/services/mod.rs index 8346ea7..5abf93a 100644 --- a/ctru-rs/src/services/mod.rs +++ b/ctru-rs/src/services/mod.rs @@ -5,8 +5,8 @@ //! //! Some include: button input, audio playback, graphics rendering, built-in cameras, etc. -pub mod apt; pub mod am; +pub mod apt; pub mod cam; pub mod cfgu; pub mod fs;