Skip to content

Commit

Permalink
we should log the panic errors, if they occur.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lokathor committed May 27, 2024
1 parent e10c617 commit fed279b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/paddle_ball.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ static SPRITE_POSITIONS: [GbaCell<u16>; 6] = [
GbaCell::new(0),
];

gba::panic_handler!(empty_loop);
gba::panic_handler!(mgba_log_err);

#[no_mangle]
fn main() -> ! {
Expand Down

0 comments on commit fed279b

Please sign in to comment.