From a12e588079700d55a0b788fea2df7727c2e41f52 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 27 Mar 2022 17:42:26 +0200 Subject: Removed MemDebug from FoundationEx --- Stars45/Sound.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Stars45/Sound.cpp') diff --git a/Stars45/Sound.cpp b/Stars45/Sound.cpp index b164467..01537e9 100644 --- a/Stars45/Sound.cpp +++ b/Stars45/Sound.cpp @@ -11,7 +11,6 @@ Abstract sound class */ -#include "MemDebug.h" #include "Sound.h" #include "SoundCard.h" #include "Wave.h" @@ -70,7 +69,7 @@ Sound::CreateStream(const char* filename) len = 4096; } - buf = new(__FILE__,__LINE__) BYTE[len]; + buf = new BYTE[len]; if (buf && len) fread(buf, len, 1, f); @@ -161,7 +160,7 @@ Sound::CreateOggStream(const char* filename) ::fopen_s(&f, filename, "rb"); if (f) { - OggVorbis_File* povf = new(__FILE__,__LINE__) OggVorbis_File; + OggVorbis_File* povf = new OggVorbis_File; if (!povf) { Print("Sound::CreateOggStream(%s) - out of memory!\n", filename); -- cgit v1.1