diff options
author | William Wilgus <wilgus.william@gmail.com> | 2021-11-07 14:25:21 -0500 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2021-11-08 16:15:47 -0500 |
commit | aed113042d7467f1bf0793443e65a6941975394f (patch) | |
tree | 3c755a297315b4b1528bb8dec4c0d034ea4e3e80 /firmware/usbstack/usb_core.c | |
parent | 25941d5e0c77e39b78885584c3efa538a6d72d0b (diff) | |
download | rockbox-aed113042d7467f1bf0793443e65a6941975394f.tar.gz rockbox-aed113042d7467f1bf0793443e65a6941975394f.zip |
RFC settings & nvram.bin save setting to tmp file save old
save to a .tmp file on save and rename on next load
I think this should pretty minimally invasive as the same file
still gets overwritten in subsequent attempts until it is loaded again
the save path is still static
so it won't cause issues holding up shutdown.
load might be a bit slower with the searching for tmp+current file
and renaming them
Plus there is now a backup of your last settings file
Change-Id: If95618b93a0ba7954d5d8cab1d6ea3f07e658509
Diffstat (limited to 'firmware/usbstack/usb_core.c')
0 files changed, 0 insertions, 0 deletions