diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2002-08-07 07:46:24 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2002-08-07 07:46:24 +0000 |
| commit | a93801da31e5346bcee816fe31560b77a6796ace (patch) | |
| tree | 0b0f49f848ad0b1699d7b21ffb7d64d56a56474d | |
| parent | 921484de874d33f6cde0aae3857f5e6c644ded71 (diff) | |
| download | rockbox-a93801da31e5346bcee816fe31560b77a6796ace.zip rockbox-a93801da31e5346bcee816fe31560b77a6796ace.tar.gz rockbox-a93801da31e5346bcee816fe31560b77a6796ace.tar.bz2 rockbox-a93801da31e5346bcee816fe31560b77a6796ace.tar.xz | |
Now uses button_get_w_tmo()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1578 a1c6a512-1295-4272-9138-f99709370657
| -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 7776f03..76d1940 100644 --- a/apps/recorder/tetris.c +++ b/apps/recorder/tetris.c @@ -331,7 +331,7 @@ void game_loop(void) int count = 0; while(count * 300 < level_speeds[level]) { - switch(button_get(false)) + switch(button_get_w_tmo(HZ/10)) { case BUTTON_OFF: return; @@ -358,7 +358,6 @@ void game_loop(void) } count++; - sleep(HZ/10); } if(gameover()) |