mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 15:49:25 +01:00
Linux: Fixed a bug in SplitPath which made the extension have no period. Fixes Memory cards and other checks. wxWidgets base has a nice cross-platform function for this ;)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@74 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
651fdfbdb7
commit
185a214329
@ -360,6 +360,7 @@ bool SplitPath(const std::string& full_path, std::string* _pPath, std::string* _
|
||||
if (_pExtension)
|
||||
{
|
||||
*_pExtension = full_path.substr(last_dot + 1);
|
||||
_pExtension->insert(0, ".");
|
||||
}
|
||||
else if (_pFilename)
|
||||
{
|
||||
|
@ -144,4 +144,4 @@ bool SCoreStartupParameter::AutoSetup(EBootBios _BootBios)
|
||||
m_strSRAM = BaseDataPath + "/SRAM.raw";
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user