| 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 |
| r15269 | r15270 | |
|---|---|---|
| 632 | 632 | if (strcmp(compnode.name, "image") == 0) |
| 633 | 633 | { |
| 634 | 634 | m_type = CTYPE_IMAGE; |
| 635 | m_dirname = dirname; | |
| 635 | if (dirname != NULL) | |
| 636 | m_dirname = dirname; | |
| 636 | 637 | m_imagefile[0] = xml_get_attribute_string_with_subst(machine, compnode, "file", ""); |
| 637 | 638 | m_alphafile[0] = xml_get_attribute_string_with_subst(machine, compnode, "alphafile", ""); |
| 638 | 639 | m_file[0] = global_alloc(emu_file(machine.options().art_path(), OPEN_FLAG_READ)); |
| Previous | 15994 Revisions | Next |