From 4d41886caaefeccb08ed6eeccfffea15bad9c2a6 Mon Sep 17 00:00:00 2001 From: Karl Kurbjun Date: Sat, 13 Jun 2009 20:59:03 +0000 Subject: M:Robe 500: Fix up 256 color blitting when in portrait mode, fix a mistake in the plugin linker script, reduce the amount of memory used by overwriting IRAM with bss after program has started, clean up some tabs and formatting, resize the simulator when building for 640x480 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21280 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/sdl/uisdl.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'uisimulator/sdl/uisdl.h') diff --git a/uisimulator/sdl/uisdl.h b/uisimulator/sdl/uisdl.h index dae1d20393..7e5cbc5170 100644 --- a/uisimulator/sdl/uisdl.h +++ b/uisimulator/sdl/uisdl.h @@ -24,6 +24,7 @@ #include #include +#include "config.h" /* colour definitions are R, G, B */ @@ -162,6 +163,7 @@ #define UI_LCD_POSY 90 /* y position of lcd */ #elif defined(MROBE_500) +#if LCD_WIDHT==320 #define UI_TITLE "Olympus M:Robe 500" #define UI_WIDTH 450 /* width of GUI window */ #define UI_HEIGHT 350 /* height of GUI window */ @@ -169,6 +171,15 @@ #define UI_LCD_POSY 30 /* y position of lcd */ #define UI_REMOTE_POSX 50 /* x position of remote lcd */ #define UI_REMOTE_POSY 325 /* y position of remote lcd */ +#else +#define UI_TITLE "Olympus M:Robe 500" +#define UI_WIDTH 900 /* width of GUI window */ +#define UI_HEIGHT 748 /* height of GUI window */ +#define UI_LCD_POSX 131 /* x position of lcd */ +#define UI_LCD_POSY 59 /* y position of lcd */ +#define UI_REMOTE_POSX 165 /* x position of remote lcd */ +#define UI_REMOTE_POSY 718 /* y position of remote lcd */ +#endif #elif defined(IRIVER_H10) #define UI_TITLE "iriver H10 20Gb" -- cgit v1.2.3