aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorAaditya Dhruv <[email protected]>2023-01-02 19:07:19 +0530
committerAaditya Dhruv <[email protected]>2023-01-02 19:07:19 +0530
commitfc4271c4286568f2001ce46c9a2e0fabf4d6147d (patch)
tree951c889d3547e2ba2ad4ec318d9a82919469b8b9 /src/main.rs
parent6c63c953b73c2adac8b1d8c4ca4df693dca3f7dd (diff)
initial freeze fixed, collisions not working, see VF
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index ba865a8..9a26b32 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -53,6 +53,7 @@ pub fn main() {
//choose white color
canvas.set_draw_color(Color::RGB(255, 255, 255));
//render all the rectangles as white pixels on the canvas
+ chip.decrement_delay_timer();
chip.fetch();
chip.execute();
chip.render(&mut canvas);