1
0
Fork 0
forked from len0rd/rockbox

Rockboy: Added an short stats option which only shows the two numbers

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28658 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Stummvoll 2010-11-24 16:41:45 +00:00
parent 5a9805d24e
commit 286eceb04b
2 changed files with 14 additions and 3 deletions

View file

@ -1108,8 +1108,13 @@ void lcd_refreshline(void)
{
if(options.showstats)
{
rb->lcd_putsxyf(0,LCD_HEIGHT-10,"FPS: %d Frameskip: %d ",
options.fps, options.frameskip);
if(options.showstats==1) {
rb->lcd_putsxyf(0,LCD_HEIGHT-10," %d %d ",
options.fps, options.frameskip);
} else {
rb->lcd_putsxyf(0,LCD_HEIGHT-10," FPS: %d Frameskip: %d ",
options.fps, options.frameskip);
}
rb->lcd_update_rect(0,LCD_HEIGHT-10, LCD_WIDTH, 10);
}