forked from len0rd/rockbox
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
This commit is contained in:
parent
fe452a0de3
commit
e7f2a13609
1 changed files with 0 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue