summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorKarl Kurbjun <kkurbjun@gmail.com>2009-12-18 04:12:05 +0000
committerKarl Kurbjun <kkurbjun@gmail.com>2009-12-18 04:12:05 +0000
commite7f2a1360914c6e48e7c7e75e41cbde51a04698c (patch)
treef72d73b1bd8671e30474cbc531d6931c906ff724 /apps/plugins
parentfe452a0de38b3dfc5fa7d698e890cb234e635487 (diff)
downloadrockbox-e7f2a1360914c6e48e7c7e75e41cbde51a04698c.zip
rockbox-e7f2a1360914c6e48e7c7e75e41cbde51a04698c.tar.gz
rockbox-e7f2a1360914c6e48e7c7e75e41cbde51a04698c.tar.bz2
rockbox-e7f2a1360914c6e48e7c7e75e41cbde51a04698c.tar.xz
Accept a form of FS #10561 by Clément Pit-Claudel: Fullscreen Brickmania for portrait players.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24062 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/brickmania.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/apps/plugins/brickmania.c b/apps/plugins/brickmania.c
index 52bfcd2..9adb0c4 100644
--- a/apps/plugins/brickmania.c
+++ b/apps/plugins/brickmania.c
@@ -266,13 +266,7 @@ CONFIG_KEYPAD == SANSA_M200_PAD
#include "pluginbitmaps/brickmania_gameover.h"
#define GAMESCREEN_WIDTH FIXED3(LCD_WIDTH)
-
-#if LCD_WIDTH<=LCD_HEIGHT
-/* Maintain a 4/3 ratio (width/height) */
-#define GAMESCREEN_HEIGHT (GAMESCREEN_WIDTH * 3 / 4)
-#else
#define GAMESCREEN_HEIGHT FIXED3(LCD_HEIGHT)
-#endif
#define PAD_WIDTH FIXED3(BMPWIDTH_brickmania_pads)
#define PAD_HEIGHT FIXED3(BMPHEIGHT_brickmania_pads/3)