forked from len0rd/rockbox
nwztools: add a "reset all settings" message in dest_tool
Users can't read the wiki instructions, hopefully they can read this... Change-Id: I3840879fdc663fb6e7f9234f352eea04a556256a
This commit is contained in:
parent
90284b6fe0
commit
1d7f6048f4
1 changed files with 4 additions and 0 deletions
|
@ -801,6 +801,10 @@ int do_dest(int argc, char **argv)
|
|||
set_little_endian32(shp + 4, sps);
|
||||
int ret = write_nvp_node(shp_index, shp, size);
|
||||
free(shp);
|
||||
if(ret != 0)
|
||||
printf("An error occured when writing node: %d\n", ret);
|
||||
else
|
||||
printf("Destination successfully changed.\nPlease RESET ALL SETTINGS on your device!\n");
|
||||
return ret;
|
||||
}
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue