diff --git a/ctru-rs/src/error.rs b/ctru-rs/src/error.rs index 18fd175..44c9d41 100644 --- a/ctru-rs/src/error.rs +++ b/ctru-rs/src/error.rs @@ -21,7 +21,7 @@ impl Try for ResultCode { } fn branch(self) -> ControlFlow { - if self.0 < 0 { + if self.0 != 0 { ControlFlow::Break(self.into()) } else { ControlFlow::Continue(())