Skip to content

Commit aee8ef7

Browse files
committed
replace "/" with system-specific path separator in custom song audio paths
1 parent ba1b890 commit aee8ef7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ChartPlayerShared/SongPlayer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ public void SetSong(string songPath, SongData song, SongInstrumentPart part)
203203

204204
if (!string.IsNullOrEmpty(part.SongAudio))
205205
{
206-
path = Path.Combine(songPath, part.SongAudio);
206+
path = Path.Combine(songPath, part.SongAudio).Replace('\\', Path.DirectorySeparatorChar);
207207
}
208208

209209
if (MutePartStems)

0 commit comments

Comments
 (0)