summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Goode <jeffg7@gmail.com>2010-01-02 19:48:14 +0000
committerJeffrey Goode <jeffg7@gmail.com>2010-01-02 19:48:14 +0000
commit3b79698f19ffbfad07b1a0b74e1a13fbf2cedc92 (patch)
tree57121e7468a6016986c30f2e6228bacb20ef838e
parent799a0a5cd4001954d8e0e855af4236e1f7b0898d (diff)
downloadrockbox-3b79698f19ffbfad07b1a0b74e1a13fbf2cedc92.tar.gz
rockbox-3b79698f19ffbfad07b1a0b74e1a13fbf2cedc92.tar.bz2
rockbox-3b79698f19ffbfad07b1a0b74e1a13fbf2cedc92.zip
xobox: show game stats when finishing level
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24145 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/xobox.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/plugins/xobox.c b/apps/plugins/xobox.c
index 347270a4bd..81e0e6ae15 100644
--- a/apps/plugins/xobox.c
+++ b/apps/plugins/xobox.c
@@ -916,6 +916,7 @@ static inline void move_board (void)
player.j = newj;
}
if (percentage_cache >= difficulty) { /* finished level */
+ refresh_board ();
rb->splashf (HZ * 2, "Level %d finished", player.level+1);
player.score += percentage_cache;
if (player.level < MAX_LEVEL)