Use path.generic_string() for game paths.

Should now only use forward slashes, regardless of platform.
This commit is contained in:
Aloshi 2013-07-02 22:48:03 -05:00
parent 04946d9fed
commit 341aa766d8

View file

@ -145,7 +145,7 @@ void SystemData::populateFolder(FolderData* folder)
//if it matches, add it
if(chkExt == extension)
{
GameData* newGame = new GameData(this, filePath.string(), filePath.stem().string());
GameData* newGame = new GameData(this, filePath.generic_string(), filePath.stem().string());
folder->pushFileData(newGame);
isGame = true;
break;