From 2efacf0dfe4832f60e0639e3a2695e82b7b0b1f9 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Thu, 6 Oct 2016 00:15:02 +0200 Subject: CRYO: More renaming, get rid of CLMemory_Alloc and CLMemory_Free --- engines/cryo/clsoundraw.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/cryo/clsoundraw.cpp') 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) { -- cgit v1.2.3