summaryrefslogtreecommitdiffstats
path: root/uisimulator/x11
diff options
context:
space:
mode:
authorKjell Ericson <kjell@haxx.se>2002-10-17 18:42:47 +0000
committerKjell Ericson <kjell@haxx.se>2002-10-17 18:42:47 +0000
commitfeae991575a32b1929405a4558da7b8c9340f13d (patch)
tree9ebfac36ec221cbca6fbf8874be2c2326c357d77 /uisimulator/x11
parent65de9c91670f75795a21a9a2404d2a3214451c98 (diff)
downloadrockbox-feae991575a32b1929405a4558da7b8c9340f13d.tar.gz
rockbox-feae991575a32b1929405a4558da7b8c9340f13d.zip
Changed Logf to printf while debugging.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2708 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 c28a2b9528..a5cc5c0965 100644
--- a/uisimulator/x11/lcd-x11.c
+++ b/uisimulator/x11/lcd-x11.c
@@ -61,7 +61,7 @@ void lcd_update (void)
if(lcd_framebuffer[x][y/8] || lcd_framebuffer_copy[x][y/8]) {
/* one or more bits/pixels are changed */
unsigned char diff =
- lcd_framebuffer[x][y/8] ^ lcd_framebuffer_copy[x][y/8];
+ lcd_framebuffer[x][y/8] ^ lcd_framebuffer_copy[x][y/8];
for(bit=0; bit<8; bit++) {
if(lcd_framebuffer[x][y/8]&(1<<bit)) {
@@ -86,7 +86,8 @@ void lcd_update (void)
drawdots(0, &clearpoints[0], cp);
drawdots(1, &points[0], p);
-/* Logf("lcd_update: Draws %d pixels, clears %d pixels", p, cp);*/
+ /* printf("lcd_update: Draws %d pixels, clears %d pixels (max %d/%d)\n",
+ p, cp, p+cp, LCD_HEIGHT*LCD_WIDTH); */
XSync(dpy,False);
}
@@ -146,7 +147,7 @@ void lcd_update_rect(int x_start, int y_start,
drawdots(0, &clearpoints[0], cp);
drawdots(1, &points[0], p);
-/* Logf("lcd_update: Draws %d pixels, clears %d pixels", p, cp);*/
+ /* printf("lcd_update_rect: Draws %d pixels, clears %d pixels\n", p, cp);*/
XSync(dpy,False);
}