aboutsummaryrefslogtreecommitdiffstats
path: root/src/gba
diff options
context:
space:
mode:
Diffstat (limited to 'src/gba')
-rw-r--r--src/gba/gba.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gba/gba.h b/src/gba/gba.h
index a53363a..e475ea9 100644
--- a/src/gba/gba.h
+++ b/src/gba/gba.h
@@ -324,9 +324,6 @@ key_hold(u32 key) {
324 return key_curr & key_prev & key; 324 return key_curr & key_prev & key;
325} 325}
326 326
327// Check if the given key/button is currently pressed.
328#define KEY_PRESSED(key) (~(KEY_INPUTS) & key)
329
330// Back/unpack bits. 327// Back/unpack bits.
331static inline 328static inline
332u32 329u32