> So how about adding the dirchache.size != 0 condition there to not update> > last_size if size isĀ 0? Like this: > https://github.com/dreamlayers/rockbox/commit/d438eb3b9ee9a824e2cac85aaa306c3891694e3a
Hmmm... .size isn't going to be zero at that point if there's been even one entry added by the scanner.