From f583e4aab3791050395471e909c09d89a0dd3128 Mon Sep 17 00:00:00 2001 From: Dave Nicolson Date: Fri, 23 Oct 2020 18:22:25 +0200 Subject: [PATCH] Remove "d_" from the filename to work on all games --- code/iphone/BackgroundMusic.cpp | 2 +- code/iphone/prboomInterface.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/iphone/BackgroundMusic.cpp b/code/iphone/BackgroundMusic.cpp index 3a1e968..d3f2b35 100755 --- a/code/iphone/BackgroundMusic.cpp +++ b/code/iphone/BackgroundMusic.cpp @@ -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 ); diff --git a/code/iphone/prboomInterface.c b/code/iphone/prboomInterface.c index 37dcde6..fe09d51 100755 --- a/code/iphone/prboomInterface.c +++ b/code/iphone/prboomInterface.c @@ -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);