aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends')
-rw-r--r--Alc/backends/wave.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/backends/wave.c b/Alc/backends/wave.c
index 2fafc4b9..2209c798 100644
--- a/Alc/backends/wave.c
+++ b/Alc/backends/wave.c
@@ -183,7 +183,7 @@ static ALCenum wave_open_playback(ALCdevice *device, const ALCchar *deviceName)
data = (wave_data*)calloc(1, sizeof(wave_data));
- data->f = fopen(fname, "wb");
+ data->f = al_fopen(fname, "wb");
if(!data->f)
{
free(data);