aboutsummaryrefslogtreecommitdiff
path: root/sound.cpp
diff options
context:
space:
mode:
authorLionel Ulmer2002-05-01 17:16:47 +0000
committerLionel Ulmer2002-05-01 17:16:47 +0000
commit7fa28ffec2e842cbc7a4404d75509288afa9995e (patch)
tree146d45d918090a29e7e337af3a9942bef2b99192 /sound.cpp
parent75f0674e465e628a9a6a5a7cc56e45609ac2e6d3 (diff)
downloadscummvm-rg350-7fa28ffec2e842cbc7a4404d75509288afa9995e.tar.gz
scummvm-rg350-7fa28ffec2e842cbc7a4404d75509288afa9995e.tar.bz2
scummvm-rg350-7fa28ffec2e842cbc7a4404d75509288afa9995e.zip
Removed ScummVM's private alloc / free / realloc functions. If I break
something, just yell :-) svn-id: r4160
Diffstat (limited to 'sound.cpp')
-rw-r--r--sound.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound.cpp b/sound.cpp
index ab6336b5cc..491350df32 100644
--- a/sound.cpp
+++ b/sound.cpp
@@ -711,8 +711,8 @@ void Scumm::decompressBundleSound(int index) {
unsigned char *p;
fileSeek(_sfxFile, bundle_table[index].offset + table[i].offset, SEEK_SET);
- CompInput = (unsigned char *)alloc(table[i].size);
- CompOutput = (unsigned char *)alloc(10000);
+ CompInput = (unsigned char *)malloc(table[i].size);
+ CompOutput = (unsigned char *)malloc(10000);
fileRead((FILE *)_sfxFile, CompInput, table[i].size);