summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/video.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/plugins/video.c b/apps/plugins/video.c
index 396d5159ec..617ada327c 100644
--- a/apps/plugins/video.c
+++ b/apps/plugins/video.c
@@ -19,11 +19,12 @@
19* KIND, either express or implied. 19* KIND, either express or implied.
20* 20*
21****************************************************************************/ 21****************************************************************************/
22#ifdef HAVE_LCD_BITMAP
23
24#include "plugin.h" 22#include "plugin.h"
25#include "system.h" 23#include "system.h"
26 24
25#ifndef SIMULATOR /* not for simulator by now */
26#ifdef HAVE_LCD_BITMAP /* and definitely not for the Player, haha */
27
27#define DEFAULT_FILENAME "/default.rvf" 28#define DEFAULT_FILENAME "/default.rvf"
28#define SCREENSIZE (LCD_WIDTH*LCD_HEIGHT/8) /* in bytes */ 29#define SCREENSIZE (LCD_WIDTH*LCD_HEIGHT/8) /* in bytes */
29#define FILEBUFSIZE SCREENSIZE*4 /* must result in a multiple of 512 */ 30#define FILEBUFSIZE SCREENSIZE*4 /* must result in a multiple of 512 */
@@ -195,4 +196,5 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
195 return main((char*) parameter); 196 return main((char*) parameter);
196} 197}
197 198
198#endif // #ifdef HAVE_LCD_BITMAP \ No newline at end of file 199#endif /* #ifdef HAVE_LCD_BITMAP */
200#endif /* #ifndef SIMULATOR */