From 94662eb98279dc51f7f2a1c2173f7f7e3ad888fe Mon Sep 17 00:00:00 2001 From: Gwilym Kuiper Date: Mon, 14 Feb 2022 21:57:29 +0000 Subject: [PATCH] Remove the timers --- examples/the-hat-chooses-the-wizard/src/main.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/examples/the-hat-chooses-the-wizard/src/main.rs b/examples/the-hat-chooses-the-wizard/src/main.rs index c7f08fcd..54ce0fc7 100644 --- a/examples/the-hat-chooses-the-wizard/src/main.rs +++ b/examples/the-hat-chooses-the-wizard/src/main.rs @@ -789,12 +789,6 @@ fn main(mut agb: agb::Gba) -> ! { let mut timer_controller = agb.timers.timers(); let mut mixer = agb.mixer.mixer(&mut timer_controller.timer0); - let mut timer = timer_controller.timer1; - let mut timer_cascade = timer_controller.timer2; - timer_cascade.set_cascade(true); - timer_cascade.set_enabled(true); - timer.set_enabled(true); - object.set_sprite_palettes(object_sheet::object_sheet.palettes); object.set_sprite_tilemap(object_sheet::object_sheet.tiles);