mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2025-12-13 18:28:52 +01:00
Support multiple rompaths using the ; separator for list.path in the
collection's settings.conf file.
This commit is contained in:
parent
96f1cbc580
commit
c42715c250
@ -324,7 +324,22 @@ bool CollectionInfoBuilder::ImportDirectory(CollectionInfo *info, std::string me
|
|||||||
// Read ROM directory if showMissing is false
|
// Read ROM directory if showMissing is false
|
||||||
if (!showMissing || includeFilter.size() == 0)
|
if (!showMissing || includeFilter.size() == 0)
|
||||||
{
|
{
|
||||||
ImportRomDirectory(path, info, includeFilter, excludeFilter, romHierarchy);
|
do
|
||||||
|
{
|
||||||
|
std::string rompath;
|
||||||
|
size_t position = path.find( ";" );
|
||||||
|
if(position != std::string::npos)
|
||||||
|
{
|
||||||
|
rompath = path.substr(0, position);
|
||||||
|
path = path.substr(position+1);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
rompath = path;
|
||||||
|
path = "";
|
||||||
|
}
|
||||||
|
ImportRomDirectory(rompath, info, includeFilter, excludeFilter, romHierarchy);
|
||||||
|
} while (path != "");
|
||||||
}
|
}
|
||||||
|
|
||||||
while(includeFilter.size() > 0)
|
while(includeFilter.size() > 0)
|
||||||
|
|||||||
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
std::string retrofe_version_major = "0";
|
std::string retrofe_version_major = "0";
|
||||||
std::string retrofe_version_minor = "7";
|
std::string retrofe_version_minor = "7";
|
||||||
std::string retrofe_version_build = "20b3";
|
std::string retrofe_version_build = "20b4";
|
||||||
|
|
||||||
|
|
||||||
std::string Version::getString()
|
std::string Version::getString()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user