diff options
Diffstat (limited to 'src/emu/inputdev.cpp')
-rw-r--r-- | src/emu/inputdev.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/emu/inputdev.cpp b/src/emu/inputdev.cpp index 66480068a14..e29dfe39315 100644 --- a/src/emu/inputdev.cpp +++ b/src/emu/inputdev.cpp @@ -570,8 +570,7 @@ void input_class::remap_device_index(int oldindex, int newindex) if (nullptr != m_device[newindex].get()) m_device[newindex]->set_devindex(newindex); - // update the maximum index found, since newindex may - // exceed current m_maxindex + // update the maximum index found, since newindex may exceed current m_maxindex m_maxindex = std::max(m_maxindex, newindex); } |