Don't include manual section for the 'Load to ram' option if the option isn't there and use 'disk' macro that expands to the proper storage type.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28250 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nils Wallménius 2010-10-12 13:14:17 +00:00
parent 9acd242839
commit cf9af0165b

View file

@ -35,17 +35,19 @@ its subdirectories will be scanned and added to the database.
\subsection{\label{ref:databasemenu}The Database Menu} \subsection{\label{ref:databasemenu}The Database Menu}
\begin{description} \begin{description}
\opt{swcodec}{ \opt{tc_ramcache}{
\item[Load To RAM] \item[Load To RAM]
The database can either be kept on disk (to save memory), or The database can either be kept on \disk{} (to save memory), or
loaded into RAM (for fast browsing). Setting this to \setting{Yes} loads loaded into RAM (for fast browsing). Setting this to \setting{Yes} loads
the database to RAM, allowing faster browsing and searching. Setting this the database to RAM, allowing faster browsing and searching. Setting this
option to \setting{No} keeps the database on the disk, meaning slower option to \setting{No} keeps the database on the \disk{}, meaning slower
browsing but it does not use extra RAM and saves some battery on boot up. browsing but it does not use extra RAM and saves some battery on boot up.
\opt{HAVE_DISK_STORAGE}{
\note{If you browse your music frequently using the database, you should \note{If you browse your music frequently using the database, you should
load to RAM, as this will reduce the overall battery consumption because load to RAM, as this will reduce the overall battery consumption because
the disk will not need to spin on each search.} the disk will not need to spin on each search.}
}
} }
\item[Auto Update] \item[Auto Update]