rockbox/firmware/common
Boris Gjenero 05739efe8d Avoid having to wait for dircache builds if shut down too soon
When dircache scanning is happening in the background, the user
can shut down the device before it is complete. Then, reset_cache()
sets size to 0 before it is copied to last_size at the end of
build_volumes(). When saved last_size is zero, scanning happens in
the foreground during next startup.

Avoid shrinking the size if the build is suspended.

Change-Id: Ife133e0be0dc0dfd53a4de119f70dba014c7ee68
2017-03-21 21:04:36 -04:00
..
config.c Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes). 2010-05-06 21:04:40 +00:00
crc32-mi4.c crc-mi4: use const lookup table for crc 2014-07-07 12:54:50 +02:00
crc32-rkw.c Add RKW firmware file format loader 2012-03-04 00:34:26 +01:00
crc32.c buflib: Add crc field protecting buflib cookie integrity 2014-01-16 10:17:39 +01:00
diacritic.c FS#11187 - diacritic.c is in 'drivers' but it does not belong there 2010-04-07 20:41:18 +00:00
dir.c Restore dircache hookup in the database ramcache. 2017-02-10 05:05:23 -05:00
dircache.c Avoid having to wait for dircache builds if shut down too soon 2017-03-21 21:04:36 -04:00
disk.c Fix a bug in disk.c that really wasn't affecting anything. 2017-02-06 02:25:22 -05:00
disk_cache.c Do some housekeeping with fat.h and SECTOR_SIZE 2017-03-12 22:05:44 -04:00
file.c Remove FF_CREAT and FF_EXCL flags in from file code. 2017-02-14 17:54:50 -05:00
file_internal.c Dircache: Refine name allocation and error handling. 2017-03-12 21:09:16 -04:00
fileobj_mgr.c Do some debug and preparatory work for ramcache and playlist 2017-01-17 14:35:36 -05:00
format.c format/*printf: Add simple support for %p format specifier. 2011-08-04 10:44:41 +00:00
linked_list.c Improve the implementation of a couple linked list routines. 2017-01-07 21:14:32 -05:00
loader_strerror.c Move load_firmware() to separate file 2013-06-27 13:50:11 +02:00
pathfuncs.c Add some comments about the behavior of a couple path functions. 2017-02-07 02:45:26 -05:00
rb-loader.c Move load_firmware() to separate file 2013-06-27 13:50:11 +02:00
strcasecmp.c Compile fix for mingw-w64 2011-12-04 21:07:06 +00:00
strcasestr.c Added ID3 searching 2005-01-27 22:21:08 +00:00
strlcat.c Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes). 2010-05-06 21:04:40 +00:00
strlcpy.c Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes). 2010-05-06 21:04:40 +00:00
strnatcmp.c Remove tabs in firmware path (taking into account the original spacing). 2010-02-22 21:24:09 +00:00
structec.c Fix warning in firmware/common/structec.c 2015-02-24 16:27:16 -05:00
timefuncs.c Move intrinsic RTC implmentation differences to driver files 2017-01-26 23:07:49 -05:00
unicode.c unicode: Fix getle16 and getbe16 2014-09-21 07:42:49 +02:00
version.c Prevent spurious recompiles on account of changed version. 2014-08-28 15:48:56 +02:00