summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/devcb.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2012-04-22 05:07:46 +0000
committer Aaron Giles <aaron@aarongiles.com>2012-04-22 05:07:46 +0000
commitf3de08a9f84746a23d0fb784cf2ab36913764035 (patch)
tree26af9699a6a4856863c9ab5efabcd351257c6383 /src/emu/devcb.c
parent094ba4f2666ef9fba8e570e93bcafcad10ccaab2 (diff)
Created ioport_manager and moved the port list to it.
Removed global port lookups, now all lookups must be done through device_t::ioport().
Diffstat (limited to 'src/emu/devcb.c')
-rw-r--r--src/emu/devcb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/devcb.c b/src/emu/devcb.c
index 7d2f6ddb622..bb338d602ae 100644
--- a/src/emu/devcb.c
+++ b/src/emu/devcb.c
@@ -83,7 +83,7 @@ public:
const input_port_config *devcb_resolver::resolve_port(const char *tag, device_t &current)
{
astring fullname;
- const input_port_config *result = current.machine().port(current.siblingtag(fullname, tag));
+ const input_port_config *result = current.ioport(current.siblingtag(fullname, tag));
if (result == NULL)
throw emu_fatalerror("Unable to find input port '%s' (requested by %s '%s')", fullname.cstr(), current.name(), current.tag());
return result;