diff options
author | 2020-08-23 11:13:56 +1000 | |
---|---|---|
committer | 2020-08-23 11:13:56 +1000 | |
commit | 164ef47ad2a2db22b599f42b5cf5cccde98323b7 (patch) | |
tree | af8848d4eba614fb27e6ec6fc022fb69ee100b0a /src/emu/inputdev.cpp | |
parent | 9be5a580607e56aac2b427621fa8a1f29745287e (diff) |
srcclean for 0.224
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); } |