diff options
Diffstat (limited to 'uisimulator/win32/lcd-win32.c')
-rw-r--r-- | uisimulator/win32/lcd-win32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/uisimulator/win32/lcd-win32.c b/uisimulator/win32/lcd-win32.c index 510117ed9d..102e262346 100644 --- a/uisimulator/win32/lcd-win32.c +++ b/uisimulator/win32/lcd-win32.c | |||
@@ -27,7 +27,7 @@ | |||
27 | // | 27 | // |
28 | 28 | ||
29 | // varaibles | 29 | // varaibles |
30 | unsigned char display[LCD_WIDTH][LCD_HEIGHT/8]; // the display | 30 | unsigned char lcd_framebuffer[LCD_WIDTH][LCD_HEIGHT/8]; // the display |
31 | char bitmap[LCD_HEIGHT][LCD_WIDTH]; // the ui display | 31 | char bitmap[LCD_HEIGHT][LCD_WIDTH]; // the ui display |
32 | 32 | ||
33 | BITMAPINFO2 bmi = | 33 | BITMAPINFO2 bmi = |
@@ -54,7 +54,7 @@ void lcd_update() | |||
54 | 54 | ||
55 | for (x = 0; x < LCD_WIDTH; x++) | 55 | for (x = 0; x < LCD_WIDTH; x++) |
56 | for (y = 0; y < LCD_HEIGHT; y++) | 56 | for (y = 0; y < LCD_HEIGHT; y++) |
57 | bitmap[y][x] = ((display[x][y/8] >> (y & 7)) & 1); | 57 | bitmap[y][x] = ((lcd_framebuffer[x][y/8] >> (y & 7)) & 1); |
58 | 58 | ||
59 | InvalidateRect (hGUIWnd, NULL, FALSE); | 59 | InvalidateRect (hGUIWnd, NULL, FALSE); |
60 | 60 | ||