diff --git a/agb/examples/multiple_video.rs b/agb/examples/multiple_video.rs index c8b1a847..226c1afe 100644 --- a/agb/examples/multiple_video.rs +++ b/agb/examples/multiple_video.rs @@ -13,7 +13,7 @@ struct Vector2D { #[no_mangle] pub fn main() -> ! { let mut gba = agb::Gba::new(); - let mut vblank = agb::interrupt::VBlank::new(); + let vblank = agb::interrupt::VBlank::new(); let mut input = agb::input::ButtonController::new(); loop { diff --git a/agb/examples/output.rs b/agb/examples/output.rs index 888e3d66..6eb91406 100644 --- a/agb/examples/output.rs +++ b/agb/examples/output.rs @@ -4,8 +4,6 @@ extern crate agb; #[no_mangle] pub fn main() -> ! { - let mut gba = agb::Gba::new(); - let vblank = agb::interrupt::VBlank::new(); let mut count = 0; diff --git a/agb/examples/wave.rs b/agb/examples/wave.rs index ef665bd6..9c45ff4b 100644 --- a/agb/examples/wave.rs +++ b/agb/examples/wave.rs @@ -4,7 +4,7 @@ extern crate agb; use agb::{ - display::{example_logo, tiled0::Background}, + display::example_logo, interrupt::{Interrupt, Mutex}, number::FixedNum, };