diff options
Diffstat (limited to 'apps/recorder/sokoban.c')
-rw-r--r-- | apps/recorder/sokoban.c | 9 |
1 files changed, 6 insertions, 3 deletions
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 @@ | |||
19 | 19 | ||
20 | #include "config.h" | 20 | #include "config.h" |
21 | #include "options.h" | 21 | #include "options.h" |
22 | |||
22 | #ifdef USE_GAMES | 23 | #ifdef USE_GAMES |
23 | 24 | ||
24 | #include <sprintf.h> | 25 | #include <sprintf.h> |
@@ -28,6 +29,7 @@ | |||
28 | #include "kernel.h" | 29 | #include "kernel.h" |
29 | #include "menu.h" | 30 | #include "menu.h" |
30 | #include "screens.h" | 31 | #include "screens.h" |
32 | #include "font.h" | ||
31 | 33 | ||
32 | #include "sokoban_levels.h" | 34 | #include "sokoban_levels.h" |
33 | 35 | ||
@@ -503,6 +505,8 @@ bool sokoban(void) | |||
503 | int w, h; | 505 | int w, h; |
504 | int len; | 506 | int len; |
505 | 507 | ||
508 | lcd_setfont(FONT_SYSFIXED); | ||
509 | |||
506 | lcd_getstringsize(SOKOBAN_TITLE, &w, &h); | 510 | lcd_getstringsize(SOKOBAN_TITLE, &w, &h); |
507 | 511 | ||
508 | /* Get horizontel centering for text */ | 512 | /* Get horizontel centering for text */ |
@@ -535,10 +539,9 @@ bool sokoban(void) | |||
535 | lcd_clear_display(); | 539 | lcd_clear_display(); |
536 | result = sokoban_loop(); | 540 | result = sokoban_loop(); |
537 | 541 | ||
542 | lcd_setfont(FONT_UI); | ||
543 | |||
538 | return result; | 544 | return result; |
539 | } | 545 | } |
540 | 546 | ||
541 | #endif | 547 | #endif |
542 | |||
543 | |||
544 | |||