summaryrefslogtreecommitdiff
path: root/apps/plugins/rockboy/lcd.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/rockboy/lcd.c')
-rw-r--r--apps/plugins/rockboy/lcd.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/apps/plugins/rockboy/lcd.c b/apps/plugins/rockboy/lcd.c
index 0da9fc7e9d..22f8864889 100644
--- a/apps/plugins/rockboy/lcd.c
+++ b/apps/plugins/rockboy/lcd.c
@@ -1009,10 +1009,6 @@ void setvidmode(void)
1009 1009
1010void lcd_refreshline(void) 1010void lcd_refreshline(void)
1011{ 1011{
1012#ifdef HAVE_LCD_COLOR
1013 char frameout[30];
1014#endif
1015
1016 if (!(R_LCDC & 0x80)) 1012 if (!(R_LCDC & 0x80))
1017 return; /* should not happen... */ 1013 return; /* should not happen... */
1018 1014
@@ -1112,8 +1108,8 @@ void lcd_refreshline(void)
1112 { 1108 {
1113 if(options.showstats) 1109 if(options.showstats)
1114 { 1110 {
1115 snprintf(frameout,sizeof(frameout),"FPS: %d Frameskip: %d ",options.fps, options.frameskip); 1111 rb->lcd_putsxyf(0,LCD_HEIGHT-10,"FPS: %d Frameskip: %d ",
1116 rb->lcd_putsxy(0,LCD_HEIGHT-10,frameout); 1112 options.fps, options.frameskip);
1117 rb->lcd_update_rect(0,LCD_HEIGHT-10, LCD_WIDTH, 10); 1113 rb->lcd_update_rect(0,LCD_HEIGHT-10, LCD_WIDTH, 10);
1118 } 1114 }
1119 1115