From 9033470d20af8c3fb360870c1ee2b5cebdf3c25f Mon Sep 17 00:00:00 2001 From: angelosa Date: Tue, 17 Oct 2017 04:42:45 +0200 Subject: Hit save (nw) --- src/emu/ioport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emu/ioport.cpp b/src/emu/ioport.cpp index 3e515c08079..82f4c4d8030 100644 --- a/src/emu/ioport.cpp +++ b/src/emu/ioport.cpp @@ -3389,7 +3389,7 @@ analog_field::analog_field(ioport_field &field) // relative controls reverse from 1 past their max range if (m_wraps) { - // wrap by 1 in positional input type + // FIXME: positional needs -1, using INPUT_RELATIVE_PER_PIXEL skips a position (and reads outside the table array) if(field.type() == IPT_POSITIONAL || field.type() == IPT_POSITIONAL_V) m_reverse_val --; else -- cgit v1.2.3-70-g09d2