diff options
author | 2010-03-08 17:06:27 +0000 | |
---|---|---|
committer | 2010-03-08 17:06:27 +0000 | |
commit | ec586731b9a1d8bb7a4d48de9ada4e8905a4f74e (patch) | |
tree | da971ef612bddc69e8d748f920ac52fe71d7c63b /src/emu/romload.c | |
parent | 5826c45ea48778bd9bf513fef1311a77c447ff8e (diff) |
Made device->tag and devconfig->tag into private member variables (m_tag).
Added inline tag() function to return a const char * version. Updated
callers to use this instead of directly accessing tag.cstr() which
was awkward.
Diffstat (limited to 'src/emu/romload.c')
-rw-r--r-- | src/emu/romload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/romload.c b/src/emu/romload.c index 0329a462f9c..1ac4e070704 100644 --- a/src/emu/romload.c +++ b/src/emu/romload.c @@ -272,7 +272,7 @@ astring &rom_region_name(astring &result, const game_driver *drv, const rom_sour else { const device_config *devconfig = (const device_config *)source; - result.printf("%s:%s", devconfig->tag.cstr(), ROMREGION_GETTAG(romp)); + result.printf("%s:%s", devconfig->tag(), ROMREGION_GETTAG(romp)); } return result; } |