diff --git a/src/SystemData.cpp b/src/SystemData.cpp index 041b47716..a34ecf4e6 100644 --- a/src/SystemData.cpp +++ b/src/SystemData.cpp @@ -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;