summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2020-08-23 11:13:56 +1000
committer Vas Crabb <vas@vastheman.com>2020-08-23 11:13:56 +1000
commit164ef47ad2a2db22b599f42b5cf5cccde98323b7 (patch)
treeaf8848d4eba614fb27e6ec6fc022fb69ee100b0a /src/emu
parent9be5a580607e56aac2b427621fa8a1f29745287e (diff)
srcclean for 0.224
Diffstat (limited to 'src/emu')
-rw-r--r--src/emu/inputdev.cpp3
-rw-r--r--src/emu/speaker.h6
2 files changed, 4 insertions, 5 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);
}
diff --git a/src/emu/speaker.h b/src/emu/speaker.h
index 26896dd7e3f..7cf27d12471 100644
--- a/src/emu/speaker.h
+++ b/src/emu/speaker.h
@@ -83,9 +83,9 @@ protected:
// internal state
static constexpr int BUCKETS_PER_SECOND = 10;
- std::vector<s32> m_max_sample;
- s32 m_current_max;
- u32 m_samples_this_bucket;
+ std::vector<s32> m_max_sample;
+ s32 m_current_max;
+ u32 m_samples_this_bucket;
};