diff options
author | Chris Robinson <[email protected]> | 2012-09-18 12:15:43 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-09-18 12:15:43 -0700 |
commit | eedbd1e81cab04d627e2ba8942f6eb48bffe07b1 (patch) | |
tree | ea408621b06fb7fefb1d1d32f5c7f30762077a4e | |
parent | 6005e7f27f831315f8549aabeff63fe734bee43c (diff) |
Improve a couple error traces with the HRTF loader
-rw-r--r-- | Alc/hrtf.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -723,7 +723,7 @@ static struct Hrtf *LoadHrtf(ALuint deviceRate) } if(fread(magic, 1, sizeof(magic), f) != sizeof(magic)) - ERR("Failed to read magic marker\n"); + ERR("Failed to read header from %s\n", fname); else { if(memcmp(magic, magicMarker00, sizeof(magicMarker00)) == 0) @@ -737,7 +737,7 @@ static struct Hrtf *LoadHrtf(ALuint deviceRate) Hrtf = LoadHrtf01(f, deviceRate); } else - ERR("Invalid magic marker: \"%.8s\"\n", magic); + ERR("Invalid header in %s: \"%.8s\"\n", fname, magic); } fclose(f); |