Browse Source

fix mp3 location

Pal Lockheart 6 years ago
parent
commit
0ba84c00da
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mp3play.c

+ 1 - 1
mp3play.c

@@ -113,7 +113,7 @@ MP3_Play(
 
 	if (iNum > 0)
 	{
-		player->pMP3 = mad_openFile(UTIL_GetFullPathName(PAL_BUFFER_SIZE_ARGS(0), gConfig.pszGamePath, PAL_va(1, "mp3/%.2d.mp3", iNum)), AUDIO_GetDeviceSpec(), gConfig.iResampleQuality);
+		player->pMP3 = mad_openFile(PAL_CombinePath(0, gConfig.pszGamePath, PAL_va(1, "mp3/%.2d.mp3", iNum)), AUDIO_GetDeviceSpec(), gConfig.iResampleQuality);
 
 		if (player->pMP3)
 		{