diff options
Diffstat (limited to 'src/emu/ioport.h')
-rw-r--r-- | src/emu/ioport.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/ioport.h b/src/emu/ioport.h index 25ca0aa17cf..1d70ac210f0 100644 --- a/src/emu/ioport.h +++ b/src/emu/ioport.h @@ -1333,7 +1333,7 @@ input_port_value input_port_read_direct(const input_port_config *port); input_port_value input_port_read(running_machine &machine, const char *tag); /* return the value of a device input port specified by tag */ -input_port_value input_port_read(device_t *device, const char *tag); +input_port_value input_port_read(device_t &device, const char *tag); /* return the value of an input port specified by tag, or a default value if the port does not exist */ input_port_value input_port_read_safe(running_machine &machine, const char *tag, input_port_value defvalue); |