mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-18 07:05:39 +00:00
Use path.generic_string() for game paths.
Should now only use forward slashes, regardless of platform.
This commit is contained in:
parent
04946d9fed
commit
341aa766d8
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue