mirror of
https://github.com/holub/mame
synced 2025-07-04 01:18:59 +03:00
Ups , fixed initialization (no whatsnew)
This commit is contained in:
parent
f2464acbf9
commit
d6ce6ab824
@ -105,8 +105,10 @@ void harddisk_image_device::device_config_complete()
|
|||||||
// or initialize to defaults if none provided
|
// or initialize to defaults if none provided
|
||||||
else
|
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_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);;
|
image_device_format *format = global_alloc_clear(image_device_format);;
|
||||||
|
Loading…
Reference in New Issue
Block a user