diff options
Diffstat (limited to 'apps/plugins/zxbox/zxvid_2bpp.c')
-rw-r--r-- | apps/plugins/zxbox/zxvid_2bpp.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/plugins/zxbox/zxvid_2bpp.c b/apps/plugins/zxbox/zxvid_2bpp.c index 0a4519e0ac..9f98ab4cfb 100644 --- a/apps/plugins/zxbox/zxvid_2bpp.c +++ b/apps/plugins/zxbox/zxvid_2bpp.c | |||
@@ -41,8 +41,6 @@ void init_spect_scr(void) | |||
41 | } | 41 | } |
42 | void update_screen(void) | 42 | void update_screen(void) |
43 | { | 43 | { |
44 | char str[80]; | ||
45 | |||
46 | fb_data *frameb; | 44 | fb_data *frameb; |
47 | int y=0; | 45 | int y=0; |
48 | int x=0; | 46 | int x=0; |
@@ -106,8 +104,7 @@ void update_screen(void) | |||
106 | int TPF = HZ/50;/* ticks per frame */ | 104 | int TPF = HZ/50;/* ticks per frame */ |
107 | if ((*rb->current_tick-start_time) > TPF ) | 105 | if ((*rb->current_tick-start_time) > TPF ) |
108 | percent = 100*video_frames/((*rb->current_tick-start_time)/TPF); | 106 | percent = 100*video_frames/((*rb->current_tick-start_time)/TPF); |
109 | rb->snprintf(str,sizeof(str),"%d %%",percent); | 107 | rb->lcd_putsxyf(0,0,"%d %%",percent); |
110 | rb->lcd_putsxy(0,0,str); | ||
111 | } | 108 | } |
112 | 109 | ||
113 | 110 | ||