From 2ca569c9355a26d11b429c8179fbfd61dbdc00f4 Mon Sep 17 00:00:00 2001 From: Risugami <@> Date: Fri, 2 Sep 2016 12:12:55 -0500 Subject: [PATCH] Fixed Midway V Unit wheel output. It seems the diagnostics test for the wheel is poorly coded for turning left as it is correct in game. --- src/mame/drivers/midvunit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mame/drivers/midvunit.cpp b/src/mame/drivers/midvunit.cpp index 190145f4fde..1d3e236846e 100644 --- a/src/mame/drivers/midvunit.cpp +++ b/src/mame/drivers/midvunit.cpp @@ -399,7 +399,7 @@ WRITE32_MEMBER(midvunit_state::midvunit_output_w) m_galil_output_index = 0; memset(m_galil_output, 0, 450); break; //device init? 3C 1C are the only 2 writes at boot. - case 0x04: output().set_value("wheel", (arg&0x80)?(0x7F-(arg&0x7F)):(arg|0x80)); break; //wheel motor delta. left < 128 < right. 128 is no change. + case 0x04: output().set_value("wheel", arg); break; //wheel motor delta. signed byte. case 0x05: for (bit = 0; bit < 8; bit++) output().set_lamp_value(bit, (arg >> bit) & 0x1); break; case 0x08: m_output = m_galil_input[m_galil_input_index++] << 8; break; //get next character from input string. case 0x09: