diff options
| author | 2011-11-12 13:38:42 +0000 | |
|---|---|---|
| committer | 2011-11-12 13:38:42 +0000 | |
| commit | 6fc97697152223184c2fa520793def5107876eaa (patch) | |
| tree | 4f5358d19a016401956094639546e6f5a4e08be6 /src | |
| parent | 1be53140ef8b6733402e69d9e96ee43eaa798e7e (diff) | |
Adding assertion
Diffstat (limited to 'src')
| -rw-r--r-- | src/emu/ioport.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emu/ioport.c b/src/emu/ioport.c index c1e55ff6176..8ad335b2327 100644 --- a/src/emu/ioport.c +++ b/src/emu/ioport.c @@ -1513,6 +1513,8 @@ input_port_value input_port_active_safe(running_machine &machine, const char *ta input_port_value input_port_read_direct(const input_port_config *port) { + assert(port != NULL); + input_port_private *portdata = port->machine().input_port_data; analog_field_state *analog; device_field_info *device_field; |
