mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 23:55: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()
|
SystemData::~SystemData()
|
||||||
{
|
{
|
||||||
if (Settings::getInstance()->getString("SaveGamelistsMode") == "on exit")
|
if (Settings::getInstance()->getString("SaveGamelistsMode") == "on exit") {
|
||||||
writeMetaData();
|
if (mRootFolder->getGameCount().first + mRootFolder->getGameCount().second != 0)
|
||||||
|
writeMetaData();
|
||||||
|
}
|
||||||
|
|
||||||
delete mRootFolder;
|
delete mRootFolder;
|
||||||
delete mFilterIndex;
|
delete mFilterIndex;
|
||||||
|
|
Loading…
Reference in a new issue