From 1ab38a02284230b8995e969b55e6aff5bcabb1dd Mon Sep 17 00:00:00 2001 From: Olivier Galibert Date: Tue, 29 Jul 2014 18:16:47 +0000 Subject: [PATCH] Stop contradicting me (nw) --- src/emu/ioport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emu/ioport.c b/src/emu/ioport.c index 11f5c58c720..5cb9ef1cef1 100644 --- a/src/emu/ioport.c +++ b/src/emu/ioport.c @@ -1956,7 +1956,7 @@ void ioport_field::frame_update(ioport_value &result, bool mouse_down) curstate = false; // additional logic to restrict digital joysticks - if (curstate && !mouse_down && m_live->joystick != NULL && m_way != 16 && !machine().options().joystick_contradictory()) + if (curstate && !m_digital_value && !mouse_down && m_live->joystick != NULL && m_way != 16 && !machine().options().joystick_contradictory()) { UINT8 mask = (m_way == 4) ? m_live->joystick->current4way() : m_live->joystick->current(); if (!(mask & (1 << m_live->joydir)))