Ups , fixed initialization (no whatsnew)

This commit is contained in:
Miodrag Milanovic 2011-11-21 15:33:32 +00:00
parent f2464acbf9
commit d6ce6ab824

View File

@ -105,8 +105,10 @@ void harddisk_image_device::device_config_complete()
// or initialize to defaults if none provided
else
{
memset(&m_device_image_load, 0, sizeof(m_device_image_load));
memset(&m_device_image_load, 0, sizeof(m_device_image_load));
memset(&m_device_image_unload, 0, sizeof(m_device_image_unload));
memset(&m_interface, 0, sizeof(m_interface));
memset(&m_device_displayinfo, 0, sizeof(m_device_displayinfo));
}
image_device_format *format = global_alloc_clear(image_device_format);;