mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-08 09:09:04 +00:00
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:
commit
2e26c03378
1 changed files with 2 additions and 1 deletions
|
@ -41,7 +41,8 @@ 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;
|
||||||
|
|
||||||
SaveFileFromEEPROM(gbapath + ".sav");
|
if (!gbapath.empty())
|
||||||
|
SaveFileFromEEPROM(gbapath + ".sav");
|
||||||
}
|
}
|
||||||
|
|
||||||
void CEXIAgp::CRC8(const u8* data, u32 size)
|
void CEXIAgp::CRC8(const u8* data, u32 size)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue