image_init_result generic_slot_device::call_load() { if (m_cart) { if (!m_device_image_load.isnull()) return m_device_image_load(*this); else { uint32_t len = common_get_size("rom"); rom_alloc(len, m_width, m_endianness); common_load_rom(get_rom_base(), len, "rom"); return image_init_result::PASS; } } return image_init_result::PASS; }
bool generic_slot_device::call_load() { if (m_cart) { if (!m_device_image_load.isnull()) return m_device_image_load(*this); else { UINT32 len = common_get_size("rom"); rom_alloc(len, m_width, m_endianness); common_load_rom(get_rom_base(), len, "rom"); return IMAGE_INIT_PASS; } } return IMAGE_INIT_PASS; }