From b0eab39a46819699a9a0a905f74db19625d90168 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Wed, 27 Mar 2013 21:02:14 -0600 Subject: [PATCH] Increment scores --- main.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/main.c b/main.c index 9650b7e..f5c6377 100644 --- a/main.c +++ b/main.c @@ -238,6 +238,14 @@ update_controller() jam_clock = 1; } } + + if (val & BTN_LEFT) { + score_a += 1; + } + + if (val & BTN_RIGHT) { + score_b += 1; + } } /*