diff options
| author | 2017-10-17 04:42:45 +0200 | |
|---|---|---|
| committer | 2017-10-17 05:39:42 +0200 | |
| commit | 9033470d20af8c3fb360870c1ee2b5cebdf3c25f (patch) | |
| tree | ba71bc7b2c65c92e0f9cf53fbd5a2c043b713d8f /src/emu/ioport.cpp | |
| parent | 798035cde30c3cd04cd258891234fd37fc287922 (diff) | |
Hit save (nw)
Diffstat (limited to 'src/emu/ioport.cpp')
| -rw-r--r-- | src/emu/ioport.cpp | 2 |
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 |
