summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorFranklin Wei <franklin@rockbox.org>2020-06-25 16:32:56 -0400
committerFranklin Wei <franklin@rockbox.org>2020-06-25 16:46:03 -0400
commitb67d9e9217351c903a9d1ac571db698e362f3d18 (patch)
tree02c6f8e21dbf623654882ccf93c80bdea322f0ed /apps
parent48b0ef1cf22ec37927116ac83ea7c7cfc1f9083e (diff)
downloadrockbox-b67d9e9217351c903a9d1ac571db698e362f3d18.tar.gz
rockbox-b67d9e9217351c903a9d1ac571db698e362f3d18.tar.bz2
rockbox-b67d9e9217351c903a9d1ac571db698e362f3d18.zip
puzzles: fix crashes and odd behavior on load
I can't believe this has gone unnoticed for so long... We need to update the game size upon loading games. Who knew? Change-Id: I929f8139457853440ae687bd937af989fa7c6f93
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/puzzles/rockbox.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/puzzles/rockbox.c b/apps/plugins/puzzles/rockbox.c
index ddcad4fa59..ac6388bf4d 100644
--- a/apps/plugins/puzzles/rockbox.c
+++ b/apps/plugins/puzzles/rockbox.c
@@ -2973,6 +2973,8 @@ static const char *init_for_game(const game *gm, int load_fd)
return ret;
}
+ fix_size();
+
tune_input(gm->name);
mouse_x = LCD_WIDTH / 2;