diff options
Diffstat (limited to 'uisimulator/win32/uisw32.cpp')
-rw-r--r-- | uisimulator/win32/uisw32.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/uisimulator/win32/uisw32.cpp b/uisimulator/win32/uisw32.cpp index 6bc1bedb00..529ecbfb4e 100644 --- a/uisimulator/win32/uisw32.cpp +++ b/uisimulator/win32/uisw32.cpp | |||
@@ -5,6 +5,7 @@ | |||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | 5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < |
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | 6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ |
7 | * \/ \/ \/ \/ \/ | 7 | * \/ \/ \/ \/ \/ |
8 | * $Id$ | ||
8 | * | 9 | * |
9 | * Copyright (C) 2002 by Felix Arends | 10 | * Copyright (C) 2002 by Felix Arends |
10 | * | 11 | * |
@@ -164,8 +165,8 @@ LRESULT GUIWndProc ( | |||
164 | // draw lcd screen | 165 | // draw lcd screen |
165 | StretchDIBits (hDc, | 166 | StretchDIBits (hDc, |
166 | UI_LCD_POSX * r.right / UI_WIDTH, UI_LCD_POSY * r.bottom / UI_HEIGHT, | 167 | UI_LCD_POSX * r.right / UI_WIDTH, UI_LCD_POSY * r.bottom / UI_HEIGHT, |
167 | DISP_X * r.right / UI_WIDTH, DISP_Y * r.bottom / UI_HEIGHT, | 168 | LCD_WIDTH * r.right / UI_WIDTH, LCD_HEIGHT * r.bottom / UI_HEIGHT, |
168 | 0, 0, DISP_X, DISP_Y, | 169 | 0, 0, LCD_WIDTH, LCD_HEIGHT, |
169 | bitmap, (BITMAPINFO *) &bmi, DIB_RGB_COLORS, SRCCOPY); | 170 | bitmap, (BITMAPINFO *) &bmi, DIB_RGB_COLORS, SRCCOPY); |
170 | 171 | ||
171 | EndPaint (hWnd, &ps); | 172 | EndPaint (hWnd, &ps); |