Possibly fix gcc 5.4
This commit is contained in:
parent
0414b960b8
commit
9a19a89370
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue