projects
/
xonotic
/
darkplaces.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added a mempool parameter to FS_LoadFile
[xonotic/darkplaces.git]
/
snd_mem.c
diff --git
a/snd_mem.c
b/snd_mem.c
index
1f7c75e
..
d0671eb
100644
(file)
--- a/
snd_mem.c
+++ b/
snd_mem.c
@@
-21,7
+21,7
@@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "quakedef.h"
#include "quakedef.h"
-#include "ogg.h"
+#include "
snd_
ogg.h"
/*
/*
@@
-221,7
+221,7
@@
sfxcache_t *S_LoadWavFile (const char *filename, sfx_t *s)
sfxcache_t *sc;
// Load the file
sfxcache_t *sc;
// Load the file
- data = FS_LoadFile(filename, false);
+ data = FS_LoadFile(filename,
tempmempool,
false);
if (!data)
return NULL;
if (!data)
return NULL;