mirror of
https://github.com/libretro/stella2023.git
synced 2024-11-27 02:40:37 +00:00
updated doc
This commit is contained in:
parent
6a67d1c0a9
commit
e706c0d800
Binary file not shown.
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 31 KiB |
@ -55,6 +55,7 @@
|
||||
<li><a href="#ROMInfo">ROM Launcher</a></li>
|
||||
<ul>
|
||||
<li><a href="#ROMInfoViewer">ROM Launcher Viewer</a></li>
|
||||
<li><a href="#FavoriteROMs">Favorite ROMs</a></li>
|
||||
<li><a href="#ROMLauncherContextMenu">ROM Launcher Context Menu</a></li>
|
||||
</ul>
|
||||
<li><a href="#ROMAudit">ROM Audit Mode</a></li>
|
||||
@ -3273,7 +3274,7 @@
|
||||
|
||||
<tr>
|
||||
<td><pre>-maxrecentroms <1|0></pre></td>
|
||||
<td>Number of ROMs tracked in 'Recently played' folder.</td>
|
||||
<td>Number of ROMs tracked in 'Recently Played' folder.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
@ -4234,6 +4235,31 @@
|
||||
</ul>
|
||||
</br>
|
||||
|
||||
<h3><b><a name="FavoriteROMs">Favorite ROMs</a></b></h3>
|
||||
Stella allows to manually favor ROMs and also automatially tracks all played
|
||||
ROMs. These ROMs are presented in three virtual directories:
|
||||
<ul>
|
||||
<li>
|
||||
<p><b>Favorites</b>: Lists all ROMs manually favored by the user (see
|
||||
<b><a href="#ROMLauncherContextMenu">ROM Launcher Context Menu</a></b>).
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><b>Recently Played</b>: Contains the recently played ROMs. By default
|
||||
the latest 20 ROMs are tracked (the <b><a href="#CommandLine">Command Line</a></b>
|
||||
parameter '-maxrecentroms' allows changing the number of tracked ROMs).</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><b>Most Popular</b>: Stella automatically creates a list of most
|
||||
frequently and lately played ROMs. This list is presented here.</p>
|
||||
</li>
|
||||
</ul>
|
||||
<p>The directories are only displayed when they are not empty (e.g. no
|
||||
favored ROMs) and are only present in the current ROM path. Their default ROM
|
||||
sort order can be changed (see
|
||||
<b><a href="#ROMLauncherContextMenu">ROM Launcher Context Menu</a></b>).</p>
|
||||
</br>
|
||||
|
||||
<h3><b><a name="ROMLauncherContextMenu">ROM Launcher Context Menu</a></b></h3>
|
||||
|
||||
<p>The ROM launcher also contains a context menu, opened by clicking the
|
||||
@ -4307,6 +4333,8 @@
|
||||
</ul></p>
|
||||
</blockquote></br>
|
||||
|
||||
|
||||
|
||||
<h2><b><a name="ROMAudit">ROM Audit Mode</a></b></h2>
|
||||
<blockquote>
|
||||
|
||||
|
@ -49,6 +49,8 @@ void FavoritesManager::load()
|
||||
|
||||
// Recently Played
|
||||
myRecentList.clear();
|
||||
if(myMaxRecent > 0)
|
||||
{
|
||||
const string& serializedRecent = mySettings.getString("_recentroms");
|
||||
if(!serializedRecent.empty())
|
||||
{
|
||||
@ -59,6 +61,7 @@ void FavoritesManager::load()
|
||||
addRecent(path);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Most Popular
|
||||
myPopularMap.clear();
|
||||
|
@ -1038,7 +1038,7 @@ void LauncherDialog::openContextMenu(int x, int y)
|
||||
// Dynamically create context menu for ROM list options
|
||||
VariantList items;
|
||||
|
||||
// TODO: remove subdirs and show all from GUI
|
||||
// TODO: remove 'Incl. subdirs' and 'Show all' from GUI? Replace with icons.
|
||||
|
||||
if(!currentNode().isDirectory())
|
||||
{
|
||||
|
@ -51,10 +51,6 @@ bool LauncherFileListWidget::isDirectory(const FilesystemNode& node) const
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
void LauncherFileListWidget::getChildren(const FilesystemNode::CancelCheck& isCancelled)
|
||||
{
|
||||
// TODO:
|
||||
// - remove subdirs & all files from GUI
|
||||
// - doc (launcher, virtual directories)
|
||||
|
||||
if(_node.exists() || !_node.hasParent())
|
||||
{
|
||||
myInVirtualDir = false;
|
||||
@ -179,13 +175,10 @@ void LauncherFileListWidget::toggleUserFavorite()
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
void LauncherFileListWidget::removeFavorite()
|
||||
{
|
||||
if(!selected().isDirectory())
|
||||
{
|
||||
if((inRecentDir() && myFavorites->removeRecent(selected().getPath()))
|
||||
|| (inPopularDir() && myFavorites->removePopular(selected().getPath())))
|
||||
// Redraw file list
|
||||
setDirty();
|
||||
}
|
||||
if(inRecentDir())
|
||||
myFavorites->removeRecent(selected().getPath());
|
||||
else if(inPopularDir())
|
||||
myFavorites->removePopular(selected().getPath());
|
||||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
Loading…
Reference in New Issue
Block a user