summaryrefslogtreecommitdiffstats
path: root/uisimulator/x11
diff options
context:
space:
mode:
authorKjell Ericson <kjell@haxx.se>2003-01-10 10:03:07 +0000
committerKjell Ericson <kjell@haxx.se>2003-01-10 10:03:07 +0000
commit1cb806110ada6d8c04ebd706e295029cdb2b73c7 (patch)
tree418bd24bc38e77a007899fdfdc504c2581d23f13 /uisimulator/x11
parentea3d4d5a0049c755b71e001c957707a7619399e6 (diff)
downloadrockbox-1cb806110ada6d8c04ebd706e295029cdb2b73c7.tar.gz
rockbox-1cb806110ada6d8c04ebd706e295029cdb2b73c7.zip
Implementing Rocklatin character set for Rockbox player.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3055 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/x11')
-rw-r--r--uisimulator/x11/lcd-x11.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/uisimulator/x11/lcd-x11.c b/uisimulator/x11/lcd-x11.c
index 1b9949b26b..dc03222b35 100644
--- a/uisimulator/x11/lcd-x11.c
+++ b/uisimulator/x11/lcd-x11.c
@@ -158,7 +158,8 @@ extern unsigned char lcd_buffer[2][11];
extern void drawrect(int color, int x1, int y1, int x2, int y2);
extern bool lcd_display_redraw;
-static unsigned char lcd_buffer_copy[2][11];
+extern unsigned char hardware_buffer_lcd[11][2];
+static unsigned char lcd_buffer_copy[11][2];
void lcd_update (void)
{
@@ -167,8 +168,8 @@ void lcd_update (void)
for (y=0; y<2; y++) {
for (x=0; x<11; x++) {
if (lcd_display_redraw ||
- lcd_buffer_copy[y][x] != lcd_buffer[y][x]) {
- lcd_buffer_copy[y][x] = lcd_buffer[y][x];
+ lcd_buffer_copy[x][y] != hardware_buffer_lcd[x][y]) {
+ lcd_buffer_copy[x][y] = hardware_buffer_lcd[x][y];
lcd_print_char(x, y);
changed=true;
}