aboutsummaryrefslogtreecommitdiff
path: root/audio/softsynth
diff options
context:
space:
mode:
authorVincent Bénony2016-01-07 09:51:13 +0100
committerVincent Bénony2016-01-07 09:55:56 +0100
commitb5ef98637c54a453a6f0ac0ca8c501ceb59924d5 (patch)
tree4b260685b5aaaab51e097cb8e220a5a12aea115b /audio/softsynth
parenta4f9b9e2ae4a6a228eed68423168336b990bbc61 (diff)
downloadscummvm-rg350-b5ef98637c54a453a6f0ac0ca8c501ceb59924d5.tar.gz
scummvm-rg350-b5ef98637c54a453a6f0ac0ca8c501ceb59924d5.tar.bz2
scummvm-rg350-b5ef98637c54a453a6f0ac0ca8c501ceb59924d5.zip
IOS: Renames a macro
Diffstat (limited to 'audio/softsynth')
-rw-r--r--audio/softsynth/fluidsynth.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/softsynth/fluidsynth.cpp b/audio/softsynth/fluidsynth.cpp
index 4240958616..4dc43499d3 100644
--- a/audio/softsynth/fluidsynth.cpp
+++ b/audio/softsynth/fluidsynth.cpp
@@ -31,7 +31,7 @@
#include "audio/musicplugin.h"
#include "audio/mpu401.h"
#include "audio/softsynth/emumidi.h"
-#ifdef IPHONE_OFFICIAL_IOS7
+#if defined(IPHONE_IOS7) && defined(IPHONE_SANDBOXED)
#include <string.h>
#include <sys/syslimits.h>
#include "backends/platform/ios7/ios7_common.h"
@@ -184,7 +184,7 @@ int MidiDriver_FluidSynth::open() {
const char *soundfont = ConfMan.get("soundfont").c_str();
-#ifdef IPHONE_OFFICIAL_IOS7
+#if defined(IPHONE_IOS7) && defined(IPHONE_SANDBOXED)
// HACK: Due to the sandbox on non-jailbroken iOS devices, we need to deal with the chroot filesystem.
// All the path selected by the user are relative to the Document directory. So, we need to adjust
// the path to reflect that.