diff options
author | Juan J. Martinez <jjm@usebox.net> | 2023-08-11 21:04:54 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2023-08-11 21:04:54 +0100 |
commit | 43503cfa510a7f7e650efccaac266d7cc6657a5d (patch) | |
tree | f0fc2a9b480f413f8f0bab25bd97170b17a794b8 /src/game.c | |
parent | cd2296358a03ab9ca4d6c017262735eaa63b5fdb (diff) | |
download | gold-mine-run-1.2.tar.gz gold-mine-run-1.2.zip |
Better koystick support1.2
Diffstat (limited to 'src/game.c')
-rw-r--r-- | src/game.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -382,8 +382,15 @@ update_menu: goto update_menu; } - if (keys[KEY_ENTER]) + if (keys[KEY_ENTER] || (ctl & CTL_FIRE1)) + { + while (keys[KEY_ENTER] || (ctl & CTL_FIRE1)) + { + ctl = control_read(); + wait_vsync(); + } break; + } } wait_vsync(); |