From f93cda177573843a1cf657118e179671c59d40db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Banaan=20Ananas?= Date: Sun, 27 Nov 2011 04:39:35 +0000 Subject: [PATCH] woops, wrong copypaste --- src/emu/machine/6532riot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);