rust-console/gba

Add track_caller to fixed-point operator implementations

Closed this issue · 1 comments

It's pretty common to experience fixed-point overflows, particularly during multiplication.

Generating a backtrace on the GBA is quite difficult to do: it would be convenient if #[track_caller] was added to operators such that the panic location points to a more sensible place than the implementation in gba's fixed.rs.

Thanks!