summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
authorKjell Ericson <kjell@haxx.se>2003-01-13 12:54:59 +0000
committerKjell Ericson <kjell@haxx.se>2003-01-13 12:54:59 +0000
commit9b986524c067fe447fb79f241c97db09924b18b0 (patch)
tree57e32bb0bddd76ec83fe6ad5c0fcd3e9329e1f96 /apps/tree.c
parentd05e8b25e2ece52f2dcc1a5564f9708fb3311c3e (diff)
downloadrockbox-9b986524c067fe447fb79f241c97db09924b18b0.tar.gz
rockbox-9b986524c067fe447fb79f241c97db09924b18b0.zip
Moving the keyboard buffer empty routine to pure simulator code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3077 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/apps/tree.c b/apps/tree.c
index a8d72f4488..dcaa9558bd 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -511,21 +511,8 @@ bool ask_resume(void)
511#endif 511#endif
512 lcd_update(); 512 lcd_update();
513 513
514#ifdef SIMULATOR
515 {
516 /* Special code for SIMULATOR because it might return the
517 "enter"-keyrelease of the shell when starting the simulator. */
518 unsigned short key;
519 do {
520 key=button_get(true);
521 if (key == BUTTON_PLAY)
522 return true;
523 } while (key & BUTTON_REL);
524 }
525#else
526 if (button_get(true) == BUTTON_PLAY) 514 if (button_get(true) == BUTTON_PLAY)
527 return true; 515 return true;
528#endif
529 return false; 516 return false;
530} 517}
531 518