mirror of
https://github.com/mauiaaron/apple2.git
synced 2024-11-18 20:07:55 +00:00
Bugfix : avoid massively overflowing heap memory
This commit is contained in:
parent
33160be9ac
commit
29fd1f5025
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user