diff options
Diffstat (limited to 'uisimulator')
-rw-r--r-- | uisimulator/app.c | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/uisimulator/app.c b/uisimulator/app.c index 790a9b7d88..b6fc838ef2 100644 --- a/uisimulator/app.c +++ b/uisimulator/app.c | |||
@@ -125,22 +125,10 @@ void app_main(void) | |||
125 | case BUTTON_PLAY: | 125 | case BUTTON_PLAY: |
126 | /* Erase current display state */ | 126 | /* Erase current display state */ |
127 | lcd_clear_display(); | 127 | lcd_clear_display(); |
128 | |||
129 | switch(cursor) { | ||
130 | case Tetris: | ||
131 | tetris(); | ||
132 | break; | ||
133 | case Browse: | ||
134 | printf("at browse\n"); | ||
135 | browse_root(); | ||
136 | break; | ||
137 | case Screen_Saver: | ||
138 | screensaver(); | ||
139 | break; | ||
140 | default: | ||
141 | continue; | ||
142 | } | ||
143 | 128 | ||
129 | /* call the proper function for this line */ | ||
130 | items[cursor].function(); | ||
131 | |||
144 | /* Return to previous display state */ | 132 | /* Return to previous display state */ |
145 | lcd_clear_display(); | 133 | lcd_clear_display(); |
146 | menu_init(); | 134 | menu_init(); |