Merge pull request #13802 from Dentomologist/cexiagp_dont_create_save_file_if_path_is_empty
CEXIAgp: Don't create save file if path is empty
This commit is contained in:
1 file changed
+1
@@ -41,6 +41,7 @@ CEXIAgp::~CEXIAgp()
|
|||||||
SplitPath(Config::Get(Config::GetInfoForAGPCartPath(m_slot)), &path, &filename, &ext);
|
SplitPath(Config::Get(Config::GetInfoForAGPCartPath(m_slot)), &path, &filename, &ext);
|
||||||
gbapath = path + filename;
|
gbapath = path + filename;
|
||||||
|
|
||||||
|
if (!gbapath.empty())
|
||||||
SaveFileFromEEPROM(gbapath + ".sav");
|
SaveFileFromEEPROM(gbapath + ".sav");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user