diff --git a/extern/vgsound_emu-modified/vgsound_emu/src/es550x/es550x.hpp b/extern/vgsound_emu-modified/vgsound_emu/src/es550x/es550x.hpp index 3df59a120..12e3f1afa 100644 --- a/extern/vgsound_emu-modified/vgsound_emu/src/es550x/es550x.hpp +++ b/extern/vgsound_emu-modified/vgsound_emu/src/es550x/es550x.hpp @@ -167,8 +167,8 @@ class es550x_shared_core : public vgsound_emu_core , m_end(0) , m_accum(0) { - m_sample[0]=0; - m_sample[1]=0; } + m_sample.fill(0); + } // configurations const u8 m_integer = 21; @@ -367,7 +367,7 @@ class es550x_shared_core : public vgsound_emu_core // 21 integer, 11 fraction for ES5506 u32 m_accum = 0; // Samples - std::array m_sample = {0, 0}; + std::array m_sample; }; // Filter