diff --git a/ctru-rs/src/services/cam.rs b/ctru-rs/src/services/cam.rs index 33a0753..dc76cf2 100644 --- a/ctru-rs/src/services/cam.rs +++ b/ctru-rs/src/services/cam.rs @@ -647,7 +647,7 @@ pub trait Camera: private::ConfigurableCamera { /// let mut inward = &mut cam.inner_cam; /// /// // We trim the image down so that it fits on a DS screen! - /// inward.set_trimming(Trimming::Centered(ViewSize::DS)); + /// inward.set_trimming(Trimming::new_centered_with_view(ViewSize::DS)); /// /// // This result will take into account the trimming. /// let final_resolution = inward.final_view_size();