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; }