summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/ui.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2010-01-21 03:56:53 +0000
committer Aaron Giles <aaron@aarongiles.com>2010-01-21 03:56:53 +0000
commita5668c2eb9d17e3e51f3230db68d3aec09c34507 (patch)
tree006e76de745dde9508f521d2d6998a00a979de1e /src/emu/ui.c
parentc12ffe8e5f3932e69e9139dc362a0f4d124ce9ed (diff)
Made direct accessors for device configuration state. Currently they
just call through to the get info function. Removed old macros that wrapped calls.
Diffstat (limited to 'src/emu/ui.c')
-rw-r--r--src/emu/ui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/ui.c b/src/emu/ui.c
index 2fda06a054c..61bbdda5788 100644
--- a/src/emu/ui.c
+++ b/src/emu/ui.c
@@ -995,7 +995,7 @@ astring &game_info_astring(running_machine *machine, astring &string)
/* if more than one, prepend a #x in front of the CPU name */
if (count > 1)
string.catprintf("%d" UTF8_MULTIPLY, count);
- string.cat(device_get_name(device));
+ string.cat(device->name());
/* display clock in kHz or MHz */
if (clock >= 1000000)
@@ -1024,7 +1024,7 @@ astring &game_info_astring(running_machine *machine, astring &string)
/* if more than one, prepend a #x in front of the CPU name */
if (count > 1)
string.catprintf("%d" UTF8_MULTIPLY, count);
- string.cat(device_get_name(device));
+ string.cat(device->name());
/* display clock in kHz or MHz */
if (device->clock >= 1000000)