mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +00:00
Removed unnecessary cleanup for empty game systems.
This commit is contained in:
parent
d7372df031
commit
370914791e
|
@ -82,8 +82,10 @@ SystemData::SystemData(
|
|||
|
||||
SystemData::~SystemData()
|
||||
{
|
||||
if (Settings::getInstance()->getString("SaveGamelistsMode") == "on exit")
|
||||
if (Settings::getInstance()->getString("SaveGamelistsMode") == "on exit") {
|
||||
if (mRootFolder->getGameCount().first + mRootFolder->getGameCount().second != 0)
|
||||
writeMetaData();
|
||||
}
|
||||
|
||||
delete mRootFolder;
|
||||
delete mFilterIndex;
|
||||
|
|
Loading…
Reference in a new issue