summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/puzzles/rockbox.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/apps/plugins/puzzles/rockbox.c b/apps/plugins/puzzles/rockbox.c
index 51b5e0890b..cb357ac313 100644
--- a/apps/plugins/puzzles/rockbox.c
+++ b/apps/plugins/puzzles/rockbox.c
@@ -3362,10 +3362,6 @@ static bool load_game(void)
rb->close(fd);
rb->remove(fname);
-#ifdef FONT_CACHING
- load_fonts();
-#endif
-
/* success */
return true;
}
@@ -3451,6 +3447,11 @@ static void puzzles_main(void)
init_for_game(&thegame, -1);
}
+#ifdef FONT_CACHING
+ LOGF("loading fonts");
+ load_fonts();
+#endif
+
/* must be done before any menu needs to be displayed */
rb->snprintf(menu_desc, sizeof(menu_desc), "%s Menu", midend_which_game(me)->name);