Guest User

Untitled

a guest
Apr 30th, 2010
186
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. === modified file 'bootloader/ipodnano2g.c'
  2. --- bootloader/ipodnano2g.c 2010-02-17 15:57:53 +0000
  3. +++ bootloader/ipodnano2g.c 2010-04-30 16:18:52 +0000
  4. @@ -65,7 +65,8 @@
  5. bool holdstatus=false;
  6.  
  7. /* System font is 6 pixels wide */
  8. - printf("Hold MENU+SELECT to");
  9. + printf("Insert USB cable, or");
  10. + printf("hold MENU+SELECT to");
  11. printf("reboot then SELECT+PLAY");
  12. printf("for disk mode");
  13. lcd_update();
  14. @@ -81,6 +82,10 @@
  15. }
  16. lcd_update();
  17. }
  18. + if (power_input_status() == POWER_INPUT_MAIN_CHARGER) {
  19. + memcpy((void *)0x0002bf00, "diskmodehotstuff\1\0\0\0", 20);
  20. + system_reboot();
  21. + }
  22. }
  23. }
RAW Paste Data