Path is now correctly X:\ on windows instead of X:\/
Allows booting from drive root Fixes issue 1035. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3672 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
1b936a4f71
commit
68a384f803
|
@ -381,6 +381,9 @@ void BuildCompleteFilename(std::string& _CompleteFilename, const std::string& _P
|
||||||
// check for seperator
|
// check for seperator
|
||||||
if (_CompleteFilename[_CompleteFilename.size() - 1] != DIR_SEP_CHR)
|
if (_CompleteFilename[_CompleteFilename.size() - 1] != DIR_SEP_CHR)
|
||||||
{
|
{
|
||||||
|
#ifdef _WIN32
|
||||||
|
if (_CompleteFilename[_CompleteFilename.size() - 1] != '\\')
|
||||||
|
#endif
|
||||||
_CompleteFilename += DIR_SEP_CHR;
|
_CompleteFilename += DIR_SEP_CHR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue