freemyipod r552 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r551‎ | r552 | r553 >
Date:05:28, 7 February 2011
Author:theseven
Status:new
Tags:
Comment:
emCORE boot menu for iPod Nano 2G: Allow for a bit more space for disk/diagmode
Modified paths:
  • /apps/bootmenu-ipodnano2g/main.c (modified) (history)

Diff [purge]

Index: apps/bootmenu-ipodnano2g/main.c
@@ -447,7 +447,7 @@
448448 bootflash_read("diagmode", buf, 0, size);
449449 if (bootflash_attributes("diagmode") & 0x800)
450450 {
451 - void* buf2 = malloc(0x10000);
 451+ void* buf2 = malloc(0x80000);
452452 if (buf2)
453453 {
454454 if (!ucl_decompress(buf, size, buf2, (uint32_t*)&size))
@@ -487,7 +487,7 @@
488488 bootflash_read("diskmode", buf, 0, size);
489489 if (bootflash_attributes("diskmode") & 0x800)
490490 {
491 - void* buf2 = malloc(0x10000);
 491+ void* buf2 = malloc(0x80000);
492492 if (buf2)
493493 {
494494 if (!ucl_decompress(buf, size, buf2, (uint32_t*)&size))