mirror of
https://github.com/holub/mame
synced 2025-05-25 15:25:33 +03:00
From Micko: fixed chd image loading? (mainly for MESS)
This commit is contained in:
parent
9afc457ab6
commit
a31bca0720
@ -332,9 +332,6 @@ void running_machine::start()
|
|||||||
// start up the devices
|
// start up the devices
|
||||||
m_devicelist.start_all();
|
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
|
// if we're coming in with a savegame request, process it now
|
||||||
const char *savegame = options_get_string(&m_options, OPTION_STATE);
|
const char *savegame = options_get_string(&m_options, OPTION_STATE);
|
||||||
if (savegame[0] != 0)
|
if (savegame[0] != 0)
|
||||||
@ -1184,6 +1181,9 @@ void driver_device::device_start()
|
|||||||
if (m_config.m_game->driver_init != NULL)
|
if (m_config.m_game->driver_init != NULL)
|
||||||
(*m_config.m_game->driver_init)(&m_machine);
|
(*m_config.m_game->driver_init)(&m_machine);
|
||||||
|
|
||||||
|
// finish image devices init process
|
||||||
|
image_postdevice_init(&m_machine);
|
||||||
|
|
||||||
// call palette_init if present
|
// call palette_init if present
|
||||||
if (m_config.m_palette_init != NULL)
|
if (m_config.m_palette_init != NULL)
|
||||||
(*m_config.m_palette_init)(&m_machine, memory_region(machine, "proms"));
|
(*m_config.m_palette_init)(&m_machine, memory_region(machine, "proms"));
|
||||||
|
Loading…
Reference in New Issue
Block a user