From 8f11dc00ac1a0a5fe009d1d07d9a1378c3300ba8 Mon Sep 17 00:00:00 2001 From: Robert Hak Date: Tue, 29 Oct 2002 10:45:29 +0000 Subject: usb detection in bounce, and all files use default font (not loaded) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2773 a1c6a512-1295-4272-9138-f99709370657 --- apps/recorder/sokoban.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'apps/recorder/sokoban.c') diff --git a/apps/recorder/sokoban.c b/apps/recorder/sokoban.c index 5081ddc8ce..bac1101838 100644 --- a/apps/recorder/sokoban.c +++ b/apps/recorder/sokoban.c @@ -19,6 +19,7 @@ #include "config.h" #include "options.h" + #ifdef USE_GAMES #include @@ -28,6 +29,7 @@ #include "kernel.h" #include "menu.h" #include "screens.h" +#include "font.h" #include "sokoban_levels.h" @@ -503,6 +505,8 @@ bool sokoban(void) int w, h; int len; + lcd_setfont(FONT_SYSFIXED); + lcd_getstringsize(SOKOBAN_TITLE, &w, &h); /* Get horizontel centering for text */ @@ -535,10 +539,9 @@ bool sokoban(void) lcd_clear_display(); result = sokoban_loop(); + lcd_setfont(FONT_UI); + return result; } #endif - - - -- cgit v1.2.3