freemyipod r414 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r413‎ | r414 | r415 >
Date:22:42, 7 January 2011
Author:theseven
Status:new
Tags:
Comment:
Installer for iPod Nano2G: Revert r333, those colors were already correct.
Modified paths:
  • /apps/installer-nano2g/main.c (modified) (history)

Diff [purge]

Index: apps/installer-nano2g/main.c
@@ -602,7 +602,7 @@
603603 renderbmp(&lcdbuffer[176 * 36], bmpbuffer, 176);
604604 displaylcd(0, 175, 0, 131, lcdbuffer, 0);
605605 free(bmpbuffer);
606 - progressbar_init(&progressbar, 15, 160, 50, 60, 0x79ce, 0xe318, 0xf97b, 0, 100);
 606+ progressbar_init(&progressbar, 15, 160, 50, 60, 0xce79, 0x18e3, 0x7bf9, 0, 100);
607607
608608 syscfgptr = malloc(0x1000);
609609 if (appleflash)
@@ -775,7 +775,7 @@
776776 renderbmp(&lcdbuffer[176 * 36], bmpbuffer, 176);
777777 displaylcd(0, 175, 0, 131, lcdbuffer, 0);
778778 free(bmpbuffer);
779 - progressbar_init(&progressbar, 15, 160, 50, 60, 0x79ce, 0xe318, 0xf97b, 0, 100);
 779+ progressbar_init(&progressbar, 15, 160, 50, 60, 0xce79, 0x18e3, 0x7bf9, 0, 100);
780780 if (fat32_resize_fulldisk(&progressbar))
781781 panic(PANIC_KILLTHREAD, "Data flash I/O error!");
782782 }
@@ -786,7 +786,7 @@
787787 bmpbuffer, &dummy);
788788 renderbmp(&lcdbuffer[176 * 36], bmpbuffer, 176);
789789 displaylcd(0, 175, 0, 131, lcdbuffer, 0);
790 - progressbar_init(&progressbar, 15, 160, 50, 60, 0x79ce, 0xe318, 0xf97b, 0, 100);
 790+ progressbar_init(&progressbar, 15, 160, 50, 60, 0xce79, 0x18e3, 0x7bf9, 0, 100);
791791 disk_mount(0);
792792 int updating = mkdir("/iLoader");
793793 int status;
@@ -800,7 +800,7 @@
801801 status = script[sp + 2] + script[sp + 3];
802802 sp += 4;
803803 }
804 - progressbar_init(&progressbar, 15, 160, 50, 60, 0x79ce, 0xe318, 0xf97b, 0, status);
 804+ progressbar_init(&progressbar, 15, 160, 50, 60, 0xce79, 0x18e3, 0x7bf9, 0, status);
805805 status = 0;
806806 while (script[sp])
807807 {
@@ -858,7 +858,7 @@
859859 ucl_decompress(bitmapdata[BMPIDX_FLASHING], bitmapsize[BMPIDX_FLASHING], bmpbuffer, &dummy);
860860 renderbmp(&lcdbuffer[176 * 36], bmpbuffer, 176);
861861 displaylcd(0, 175, 0, 131, lcdbuffer, 0);
862 - progressbar_init(&progressbar, 15, 160, 50, 60, 0x79ce, 0xe318, 0xf97b, 0, 256);
 862+ progressbar_init(&progressbar, 15, 160, 50, 60, 0xce79, 0x18e3, 0x7bf9, 0, 256);
863863 for (i = 0; i < 256; i++)
864864 {
865865 bootflash_writeraw(&norbuf[i << 12], i << 12, 1 << 12);

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r333Installer for iPod Nano 2G: Fix a bunch of byteswapped colorstheseven02:44, 13 December 2010