This is the bug/patch tracker for Rockbox. Click here for more information.
FS#12125 - Use persistent dircache without HAVE_EEPROM_SETTINGS
The patch allows to use the persistent dircache even in targets that do not define HAVE_EEPROM_SETTINGS.
Starting trying to implement such a feature for my iPod Video, I "discovered" the functions dircache_load/save (I have a slight knowledge of the RB software). Investigating why it was not used on my target, I saw that it's conditioned to the define HAVE_EEPROM_SETTINGS without an apparently reason to limit them just to some targets.
So, I simply "detach" the functions definition and use from the define.
I'm using it since an hour, starting up and shutting down the DAP various times, jumping back and forth inside the dynamic play list, and I got no problems at all.
If I guess correctly the code, the dircache should be updated also when changing the DAP content, if the USB connection is done by RB and not the OF.
It's applied to r29907.
This task depends upon