Skip to content

Commit

Permalink
Remove "d_" from the filename to work on all games
Browse files Browse the repository at this point in the history
  • Loading branch information
dnicolson committed Oct 23, 2020
1 parent 583df6d commit f583e4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion code/iphone/BackgroundMusic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ void iphoneStartMusic() {
return;
}
char fullName[1024];
sprintf( fullName, "%s/music/d_%s.mp3", SysIphoneGetAppDir(), currentMusicName );
sprintf( fullName, "%s/music/%s.mp3", SysIphoneGetAppDir(), currentMusicName );

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

Expand Down
2 changes: 1 addition & 1 deletion code/iphone/prboomInterface.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ void I_FindFile(const char* wfname, const char* ext, char * returnFileName )
return;
}

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

Expand Down

0 comments on commit f583e4a

Please sign in to comment.