From 716a07a18ebcadb1d4fa3fcfb0324b8958c87f01 Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Sat, 25 Feb 2012 19:15:32 +0000 Subject: [PATCH] Devcb port tags need to be relative, not absolute, like other devcb tags. --- src/emu/devcb.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/emu/devcb.c b/src/emu/devcb.c index 089dcd3388b..7d2f6ddb622 100644 --- a/src/emu/devcb.c +++ b/src/emu/devcb.c @@ -82,9 +82,10 @@ public: const input_port_config *devcb_resolver::resolve_port(const char *tag, device_t ¤t) { - const input_port_config *result = current.machine().port(tag); + astring fullname; + const input_port_config *result = current.machine().port(current.siblingtag(fullname, tag)); if (result == NULL) - throw emu_fatalerror("Unable to find input port '%s' (requested by %s '%s')", tag, current.name(), current.tag()); + throw emu_fatalerror("Unable to find input port '%s' (requested by %s '%s')", fullname.cstr(), current.name(), current.tag()); return result; }