Sync with master
This commit is contained in:
parent
c981319295
commit
4eaf5ce9a6
|
@ -16,7 +16,7 @@ void vox_core::vox_decoder_t::decoder_state_t::reset()
|
|||
}
|
||||
|
||||
// copy from source
|
||||
void vox_core::vox_decoder_t::decoder_state_t::copy_state(decoder_state_t src)
|
||||
void vox_core::vox_decoder_t::decoder_state_t::copy_state(decoder_state_t &src)
|
||||
{
|
||||
m_index = src.index();
|
||||
m_step = src.step();
|
||||
|
|
|
@ -40,7 +40,7 @@ class vox_core : public vgsound_emu_core
|
|||
|
||||
s32 step() { return m_step; }
|
||||
|
||||
decoder_state_t &operator=(decoder_state_t src)
|
||||
decoder_state_t &operator=(decoder_state_t &src)
|
||||
{
|
||||
copy_state(src);
|
||||
return *this;
|
||||
|
@ -49,7 +49,7 @@ class vox_core : public vgsound_emu_core
|
|||
private:
|
||||
const bool m_wraparound = false; // wraparound or clamp?
|
||||
|
||||
void copy_state(decoder_state_t src);
|
||||
void copy_state(decoder_state_t &src);
|
||||
|
||||
vox_core &m_vox;
|
||||
s8 m_index = 0;
|
||||
|
|
Loading…
Reference in New Issue