From 810726ea792cce119f8fc9afc7fb745f828fdf16 Mon Sep 17 00:00:00 2001 From: Corwin Date: Tue, 5 Apr 2022 21:30:26 +0100 Subject: [PATCH] fix book example --- book/games/pong/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/games/pong/src/main.rs b/book/games/pong/src/main.rs index 540c3bb9..456b7856 100644 --- a/book/games/pong/src/main.rs +++ b/book/games/pong/src/main.rs @@ -48,6 +48,6 @@ fn main(mut gba: Gba) -> ! { ball.set_x(ball_x as u16).set_y(ball_y as u16); agb::display::busy_wait_for_vblank(); - ball.commit(); + object.commit(); } }