From c6417b4a376331756d6dea262bc605c985f00344 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Thu, 17 Nov 2005 17:25:56 +0000 Subject: Win32 simulator: * Use a 16 bit display bitmap for 16bit target simulation. Simpler & faster this way. * Changed separate lcd_update() implementation into a simple call of lcd_update_rect() with the full rectangle. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7928 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/win32/lcd-win32.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'uisimulator/win32/lcd-win32.h') diff --git a/uisimulator/win32/lcd-win32.h b/uisimulator/win32/lcd-win32.h index 5aa4982c2b..b3533ad0cb 100644 --- a/uisimulator/win32/lcd-win32.h +++ b/uisimulator/win32/lcd-win32.h @@ -30,10 +30,10 @@ typedef struct RGBQUAD bmiColors[256]; } BITMAPINFO256; -#if LCD_DEPTH >= 16 -extern unsigned long bitmap[LCD_HEIGHT][LCD_WIDTH]; // the ui display -#else +#if LCD_DEPTH <= 8 extern unsigned char bitmap[LCD_HEIGHT][LCD_WIDTH]; // the ui display +#elif LCD_DEPTH <= 16 +extern unsigned short bitmap[LCD_HEIGHT][LCD_WIDTH]; // the ui display #endif extern BITMAPINFO256 bmi; // bitmap information -- cgit v1.2.3