summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Michaël Banaan Ananas <happppp@users.noreply.github.com>2011-11-27 04:39:35 +0000
committer Michaël Banaan Ananas <happppp@users.noreply.github.com>2011-11-27 04:39:35 +0000
commitf93cda177573843a1cf657118e179671c59d40db (patch)
tree2838b24bf581ef7d623d797befde22f866e8b818
parent49fcda4d4d97209aa9d64655b0f34beb37a869e3 (diff)
woops, wrong copypaste
-rw-r--r--src/emu/machine/6532riot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/machine/6532riot.c b/src/emu/machine/6532riot.c
index 9704b364d44..da5bcc2105f 100644
--- a/src/emu/machine/6532riot.c
+++ b/src/emu/machine/6532riot.c
@@ -301,7 +301,7 @@ UINT8 riot6532_device::reg_r(UINT8 offset)
else
{
/* call the input callback if it exists */
- if (!port->m_out_func.isnull())
+ if (!port->m_in_func.isnull())
{
port->m_in = port->m_in_func(0);