- fixed possible crash on Windows

This commit is contained in:
Volker Ruppert 2012-02-11 17:11:58 +00:00
parent fa182e96b5
commit 47c68a2f04

View File

@ -57,8 +57,7 @@ void libdma_LTX_plugin_fini(void)
bx_dma_c::bx_dma_c()
{
put("DMA");
memset(&s[0], 0, sizeof(s));
memset(&s[1], 0, sizeof(s));
memset(&s, 0, sizeof(s));
}
bx_dma_c::~bx_dma_c()