From Micko: fixed chd image loading? (mainly for MESS)

This commit is contained in:
Angelo Salese 2010-09-07 20:47:30 +00:00
parent 9afc457ab6
commit a31bca0720

View File

@ -332,9 +332,6 @@ void running_machine::start()
// start up the devices
m_devicelist.start_all();
// finish image devices init process
image_postdevice_init(this);
// if we're coming in with a savegame request, process it now
const char *savegame = options_get_string(&m_options, OPTION_STATE);
if (savegame[0] != 0)
@ -1184,6 +1181,9 @@ void driver_device::device_start()
if (m_config.m_game->driver_init != NULL)
(*m_config.m_game->driver_init)(&m_machine);
// finish image devices init process
image_postdevice_init(&m_machine);
// call palette_init if present
if (m_config.m_palette_init != NULL)
(*m_config.m_palette_init)(&m_machine, memory_region(machine, "proms"));