1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Index: firmware/target/arm/ipod/lcd-color_nano.c
===================================================================
--- firmware/target/arm/ipod/lcd-color_nano.c  (revision 29110)
+++ firmware/target/arm/ipod/lcd-color_nano.c  (working copy)
@@ -167,6 +167,10 @@

     /* setup the drawing region */
     if ((lcd_type&1) == 0) {
+        /* swap x0 and x1 */
+#if CONFIG_LCD == LCD_IPODCOLOR
+        int tmp = x0; x0 = x1; x1 = tmp;
+#endif
         lcd_cmd_data(0x12, y0);      /* start vert */
         lcd_cmd_data(0x13, x0);      /* start horiz */
         lcd_cmd_data(0x15, y1);      /* end vert */