mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +00:00
Simplified the detection of flatten.txt files in GuiOrphanedDataCleanup
This commit is contained in:
parent
b3a05d0403
commit
419ceb8fe4
|
@ -300,7 +300,7 @@ void GuiOrphanedDataCleanup::cleanupMediaFiles()
|
|||
mCurrentSystem = currentSystem;
|
||||
}
|
||||
|
||||
if (Utils::FileSystem::exists(system->getSystemEnvData()->mStartPath + "/flatten.txt")) {
|
||||
if (system->getFlattenFolders()) {
|
||||
LOG(LogError) << "A flatten.txt file was found, skipping system \"" << currentSystem
|
||||
<< "\"";
|
||||
{
|
||||
|
@ -478,7 +478,7 @@ void GuiOrphanedDataCleanup::cleanupGamelists()
|
|||
mCurrentSystem = currentSystem;
|
||||
}
|
||||
|
||||
if (Utils::FileSystem::exists(system->getSystemEnvData()->mStartPath + "/flatten.txt")) {
|
||||
if (system->getFlattenFolders()) {
|
||||
LOG(LogError) << "A flatten.txt file was found, skipping system \"" << currentSystem
|
||||
<< "\"";
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue