diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/recorder/tetris.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/recorder/tetris.c b/apps/recorder/tetris.c index 7776f03c3c..76d1940889 100644 --- a/apps/recorder/tetris.c +++ b/apps/recorder/tetris.c | |||
@@ -331,7 +331,7 @@ void game_loop(void) | |||
331 | int count = 0; | 331 | int count = 0; |
332 | while(count * 300 < level_speeds[level]) | 332 | while(count * 300 < level_speeds[level]) |
333 | { | 333 | { |
334 | switch(button_get(false)) | 334 | switch(button_get_w_tmo(HZ/10)) |
335 | { | 335 | { |
336 | case BUTTON_OFF: | 336 | case BUTTON_OFF: |
337 | return; | 337 | return; |
@@ -358,7 +358,6 @@ void game_loop(void) | |||
358 | } | 358 | } |
359 | 359 | ||
360 | count++; | 360 | count++; |
361 | sleep(HZ/10); | ||
362 | } | 361 | } |
363 | 362 | ||
364 | if(gameover()) | 363 | if(gameover()) |