diff options
author | Vas Crabb <vas@vastheman.com> | 2018-04-30 23:32:41 +1000 |
---|---|---|
committer | Vas Crabb <vas@vastheman.com> | 2018-04-30 23:32:41 +1000 |
commit | b60c852f119db04564731fa86d73e0a986771258 (patch) | |
tree | f3f48148a13484a407b7054c78239258708c5a18 /src/devices/machine/smpc.h | |
parent | 89b356a0f5d874f2cabe2e0a96ccfb611b735109 (diff) |
Set finder tag relative to current device being configured rather than
the finder's owner. This meand you no longer need to care about the
your relationship to the object being configured and a lot of ^ and :
can disappear. There's a bit reduction in string pasting in macros from
this.
Yes, I have to make this apply to devcb etc. as well, but that's a job
for another day.
There's probably at least one thing broken by this where optional
objects are involved. Most things can be solved by just getting rid of
the now-problematic ^ and : prefixes.
Diffstat (limited to 'src/devices/machine/smpc.h')
-rw-r--r-- | src/devices/machine/smpc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/machine/smpc.h b/src/devices/machine/smpc.h index abdf526c508..bb18b14da4f 100644 --- a/src/devices/machine/smpc.h +++ b/src/devices/machine/smpc.h @@ -24,7 +24,7 @@ MCFG_DEVICE_ADD((tag), SMPC_HLE, (clock)) #define MCFG_SMPC_HLE_SCREEN(screen_tag) \ - downcast<smpc_hle_device &>(*device).set_screen_tag(("^" screen_tag)); + downcast<smpc_hle_device &>(*device).set_screen_tag(screen_tag); #define MCFG_SMPC_HLE_CONTROL_PORTS(ctrl1_tag, ctrl2_tag) \ downcast<smpc_hle_device &>(*device).set_control_port_tags(ctrl1_tag, ctrl2_tag); |