diff --git a/stepmania/src/RageSoundManager.cpp b/stepmania/src/RageSoundManager.cpp index bd1840a5f8..c25b47d3c1 100644 --- a/stepmania/src/RageSoundManager.cpp +++ b/stepmania/src/RageSoundManager.cpp @@ -200,9 +200,10 @@ void RageSoundManager::PlayOnceFromDir( CString sDir ) if( sDir == "" ) return; - // make sure there's a backslash at the end of this path - if( sDir[sDir.GetLength()-1] != '\\' ) - sDir += "\\"; + // make sure there's a slash at the end of this path + sDir.Replace("\\", "/"); + if( sDir[sDir.GetLength()-1] != '/' ) + sDir += "/"; CStringArray arraySoundFiles; GetDirListing( sDir + "*.mp3", arraySoundFiles );