Previous 15994 Revisions Next

r15270 Tuesday 22nd May, 2012 at 08:59:30 UTC by Miodrag Milanović
Allow image loading outside of layout zip (no whatsnew)
[src/emu]rendlay.c

src/emu/rendlay.c
r15269r15270
632632   if (strcmp(compnode.name, "image") == 0)
633633   {
634634      m_type = CTYPE_IMAGE;
635      m_dirname = dirname;
635      if (dirname != NULL)
636         m_dirname = dirname;
636637      m_imagefile[0] = xml_get_attribute_string_with_subst(machine, compnode, "file", "");
637638      m_alphafile[0] = xml_get_attribute_string_with_subst(machine, compnode, "alphafile", "");
638639      m_file[0] = global_alloc(emu_file(machine.options().art_path(), OPEN_FLAG_READ));

Previous 15994 Revisions Next


© 1998-2018 The MESS Team