aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-07-22 13:58:05 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-07-22 13:58:22 +0100
commit9ecd65467232071b18a7c6f782a22264046ebf45 (patch)
tree1a6110a495069900ac70b53d9d2746152aab1202 /src/main.c
parentd6f7ac4c09ffb0717467790d9acc27df75e25b21 (diff)
downloadgold-mine-run-9ecd65467232071b18a7c6f782a22264046ebf45.tar.gz
gold-mine-run-9ecd65467232071b18a7c6f782a22264046ebf45.zip
Joystick support
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 5cdcb1b..3a1aca6 100644
--- a/src/main.c
+++ b/src/main.c
@@ -7,6 +7,7 @@
#include "timer.h"
#include "keyb.h"
#include "sound.h"
+#include "control.h"
#include "vga.h"
#include "data.h"
#include "menu.h"
@@ -75,6 +76,9 @@ int main(int argc, char *argv[])
keyb_init();
atexit(free_all);
+ /* requires keyboard */
+ control_init();
+
/* to update mikmod */
timer_user_fn(sound_update);