diff options
Diffstat (limited to 'apps/plugins/zxbox/zxvid_grey.c')
-rw-r--r-- | apps/plugins/zxbox/zxvid_grey.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/apps/plugins/zxbox/zxvid_grey.c b/apps/plugins/zxbox/zxvid_grey.c index 8491e6bf18..de9cd97874 100644 --- a/apps/plugins/zxbox/zxvid_grey.c +++ b/apps/plugins/zxbox/zxvid_grey.c | |||
@@ -1,5 +1,5 @@ | |||
1 | #include "zxvid_com.h" | 1 | #include "zxvid_com.h" |
2 | #if !defined HAVE_LCD_COLOR && defined USE_GRAY | 2 | #if !defined HAVE_LCD_COLOR && defined USE_GREY |
3 | /* | 3 | /* |
4 | use for slightly different colors | 4 | use for slightly different colors |
5 | #define N0 0x04 | 5 | #define N0 0x04 |
@@ -67,8 +67,8 @@ void update_screen(void) | |||
67 | srcy &= 0xffff; /* set up the y-coordinate between 0 and 1 */ | 67 | srcy &= 0xffff; /* set up the y-coordinate between 0 and 1 */ |
68 | } | 68 | } |
69 | 69 | ||
70 | #ifdef USE_BUFFERED_GRAY | 70 | #ifdef USE_BUFFERED_GREY |
71 | gray_gray_bitmap(graybuffer, 0, 0, LCD_WIDTH, LCD_HEIGHT); | 71 | grey_gray_bitmap(graybuffer, 0, 0, LCD_WIDTH, LCD_HEIGHT); |
72 | #endif | 72 | #endif |
73 | 73 | ||
74 | if ( settings.showfps ) { | 74 | if ( settings.showfps ) { |
@@ -77,8 +77,8 @@ void update_screen(void) | |||
77 | if ((*rb->current_tick-start_time) > TPF ) | 77 | if ((*rb->current_tick-start_time) > TPF ) |
78 | percent = 100*video_frames/((*rb->current_tick-start_time)/TPF); | 78 | percent = 100*video_frames/((*rb->current_tick-start_time)/TPF); |
79 | rb->snprintf(str,sizeof(str),"%d %%",percent); | 79 | rb->snprintf(str,sizeof(str),"%d %%",percent); |
80 | #if defined USE_BUFFERED_GRAY | 80 | #if defined USE_BUFFERED_GREY |
81 | gray_putsxy(0,0,str); | 81 | grey_putsxy(0,0,str); |
82 | #else | 82 | #else |
83 | LOGF(str); | 83 | LOGF(str); |
84 | #endif | 84 | #endif |
@@ -86,10 +86,10 @@ void update_screen(void) | |||
86 | } | 86 | } |
87 | 87 | ||
88 | 88 | ||
89 | #if defined USE_BUFFERED_GRAY | 89 | #if defined USE_BUFFERED_GREY |
90 | gray_update(); | 90 | grey_update(); |
91 | #else | 91 | #else |
92 | gray_ub_gray_bitmap(graybuffer, 0, 0, LCD_WIDTH, LCD_HEIGHT); | 92 | grey_ub_gray_bitmap(graybuffer, 0, 0, LCD_WIDTH, LCD_HEIGHT); |
93 | #endif | 93 | #endif |
94 | 94 | ||
95 | } | 95 | } |