Bugfix : avoid massively overflowing heap memory

This commit is contained in:
Aaron Culliney 2015-11-14 09:54:31 -08:00
parent 33160be9ac
commit 29fd1f5025

View File

@ -1699,7 +1699,7 @@ void MB_Initialize()
{
#ifdef APPLE2IX
assert(pthread_self() == cpu_thread_id);
memset(SSI263Voice, 0x0, sizeof(AudioBuffer_s)*MAX_VOICES);
memset(SSI263Voice, 0x0, sizeof(AudioBuffer_s *) * MAX_VOICES);
#endif
if (g_bDisableDirectSoundMockingboard)
{