Skip to content

Commit f583e4a

Browse files
committed
Remove "d_" from the filename to work on all games
1 parent 583df6d commit f583e4a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

code/iphone/BackgroundMusic.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ void iphoneStartMusic() {
516516
return;
517517
}
518518
char fullName[1024];
519-
sprintf( fullName, "%s/music/d_%s.mp3", SysIphoneGetAppDir(), currentMusicName );
519+
sprintf( fullName, "%s/music/%s.mp3", SysIphoneGetAppDir(), currentMusicName );
520520

521521
printf( "Starting music '%s'\n", fullName );
522522

code/iphone/prboomInterface.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ void I_FindFile(const char* wfname, const char* ext, char * returnFileName )
100100
return;
101101
}
102102

103-
sprintf( returnFileName, "%s/music/d_%s", SysIphoneGetAppDir(), wfname );
103+
sprintf( returnFileName, "%s/music/%s", SysIphoneGetAppDir(), wfname );
104104
if (!access(returnFileName,F_OK)) {
105105
lprintf(LO_INFO, " found %s\n", returnFileName);
106106

0 commit comments

Comments
 (0)