mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
fix the e200r installer so it compiles again (storage rework broke it)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19195 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
5d21c8cb1d
commit
76e662b8e5
1 changed files with 4 additions and 4 deletions
|
@ -139,7 +139,7 @@ void* main(void)
|
|||
printf("reading: %x", (START_SECTOR_OF_ROM + ROMSECTOR_TO_HACK)*512);
|
||||
#endif
|
||||
|
||||
storage_read_sectors(IF_MV2(0,)
|
||||
storage_read_sectors(0,
|
||||
pinfo->start + START_SECTOR_OF_ROM + ROMSECTOR_TO_HACK,
|
||||
1 , sector);
|
||||
crc32 = chksum_crc32 (sector, 512);
|
||||
|
@ -161,7 +161,7 @@ void* main(void)
|
|||
/* E200R bootloader detected - patch it */
|
||||
memcpy(§or[HACK_OFFSET], changedBytes,
|
||||
sizeof(changedBytes)/sizeof(*changedBytes));
|
||||
storage_write_sectors(IF_MV2(0,)
|
||||
storage_write_sectors(0,
|
||||
pinfo->start + START_SECTOR_OF_ROM + ROMSECTOR_TO_HACK,
|
||||
1 , sector);
|
||||
printf("Firmware unlocked");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue