Possibly fix gcc 5.4

This commit is contained in:
cam900 2022-12-25 16:11:29 +09:00
parent 0414b960b8
commit 9a19a89370
2 changed files with 6 additions and 6 deletions

View File

@ -87,8 +87,8 @@ class k007232_core : public vgsound_emu_core
: vgsound_emu_core("k007232")
, m_voice{*this, *this}
, m_intf(intf)
, m_reg{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
{
m_reg.fill(0);
}
// host accessors
@ -111,7 +111,7 @@ class k007232_core : public vgsound_emu_core
k007232_intf &m_intf; // common memory interface
std::array<u8, 16> m_reg = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; // register pool
std::array<u8, 16> m_reg; // register pool
};
#endif

View File

@ -87,9 +87,9 @@ class x1_010_core : public vgsound_emu_core
, m_acc(0)
, m_env_acc(0)
, m_data(0)
, m_vol_out{0, 0}
, m_out{0, 0}
{
m_vol_out.fill(0);
m_out.fill(0);
}
// internal state
@ -117,10 +117,10 @@ class x1_010_core : public vgsound_emu_core
u32 m_acc = 0;
u32 m_env_acc = 0;
s8 m_data = 0;
std::array<u8, 2> m_vol_out = {0, 0};
std::array<u8, 2> m_vol_out;
// for preview only
std::array<s32, 2> m_out = {0, 0};
std::array<s32, 2> m_out;
};
public: