diff options
author | Strangerke | 2016-10-06 00:15:02 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-01-25 22:41:58 +0100 |
commit | 2efacf0dfe4832f60e0639e3a2695e82b7b0b1f9 (patch) | |
tree | ae2318e228215d1519583a93cc4f5500ac4e6acd /engines/cryo/clsoundraw.cpp | |
parent | 8c5b81684152a436b7272ddd7bcb4db65dd95257 (diff) | |
download | scummvm-rg350-2efacf0dfe4832f60e0639e3a2695e82b7b0b1f9.tar.gz scummvm-rg350-2efacf0dfe4832f60e0639e3a2695e82b7b0b1f9.tar.bz2 scummvm-rg350-2efacf0dfe4832f60e0639e3a2695e82b7b0b1f9.zip |
CRYO: More renaming, get rid of CLMemory_Alloc and CLMemory_Free
Diffstat (limited to 'engines/cryo/clsoundraw.cpp')
-rw-r--r-- | engines/cryo/clsoundraw.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/cryo/clsoundraw.cpp b/engines/cryo/clsoundraw.cpp index e9609e12fd..a9d339555f 100644 --- a/engines/cryo/clsoundraw.cpp +++ b/engines/cryo/clsoundraw.cpp @@ -27,7 +27,7 @@ namespace Cryo { sound_t *CLSoundRaw_New(int16 arg1, float rate, int16 sampleSize, int16 mode) { sound_t *sound; - sound = (sound_t *)CLMemory_Alloc(sizeof(*sound)); + sound = (sound_t *)malloc(sizeof(*sound)); if (sound) { sound->ff_1A = arg1; sound->_rate = rate; @@ -47,7 +47,7 @@ sound_t *CLSoundRaw_New(int16 arg1, float rate, int16 sampleSize, int16 mode) { void CLSoundRaw_Free(sound_t *sound) { while (sound->_locked) ; // CLMemory_FreeHandle(sound->sndHandle); - CLMemory_Free(sound); + free(sound); } void CLSoundRaw_AssignBuffer(sound_t *sound, void *buffer, int bufferOffs, int length) { |