summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/digfx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/digfx.c')
-rw-r--r--src/emu/digfx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/digfx.c b/src/emu/digfx.c
index b3bd0edb770..6b854f046ef 100644
--- a/src/emu/digfx.c
+++ b/src/emu/digfx.c
@@ -319,11 +319,11 @@ void device_gfx_interface::interface_validity_check(validity_checker &valid) con
if (region != NULL && GFXENTRY_ISROM(gfx.flags))
{
// resolve the region
- astring gfxregion;
+ std::string gfxregion;
if (GFXENTRY_ISDEVICE(gfx.flags))
- device().subtag(gfxregion, region);
+ gfxregion = device().subtag(region);
else
- device().owner()->subtag(gfxregion, region);
+ gfxregion = device().owner()->subtag(region);
UINT32 region_length = valid.region_length(gfxregion.c_str());
if (region_length == 0)