summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/ioport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/ioport.cpp')
-rw-r--r--src/emu/ioport.cpp2
1 files changed, 1 insertions, 1 deletions
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