aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-02-27 02:20:51 -0800
committerChris Robinson <[email protected]>2014-02-27 02:20:51 -0800
commit6e7c0e15eb0c70f215696a5aade043aa564b48bd (patch)
tree6324c6b460d9216db8235acab351466a18a6baba /OpenAL32
parentfd3acf19fe0a51798944da2e440246b20c7cbb85 (diff)
Use OpenDataFile to load soundfonts relative to data directories
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/alSoundfont.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alSoundfont.c b/OpenAL32/alSoundfont.c
index 355c5b41..a89ce4d1 100644
--- a/OpenAL32/alSoundfont.c
+++ b/OpenAL32/alSoundfont.c
@@ -469,7 +469,7 @@ ALsoundfont *ALsoundfont_getDefSoundfont(ALCcontext *context)
{
FILE *f;
- f = fopen(fname, "rb");
+ f = OpenDataFile(fname, "openal/soundfonts");
if(f == NULL)
ERR("Failed to open %s\n", fname);
else