Fix build, Core update
This commit is contained in:
parent
37216e323f
commit
8c214d40e1
2 changed files with 3 additions and 3 deletions
|
|
@ -91,7 +91,7 @@ void es550x_shared_core::es550x_alu_t::loop_exec()
|
|||
s32 es550x_shared_core::es550x_alu_t::interpolation()
|
||||
{
|
||||
// SF = S1 + ACCfr * (S2 - S1)
|
||||
return m_sample[0] + ((bitfield<s32>(m_accum, std::min<u8>(0, m_fraction - 9), 9) * (m_sample[1] - m_sample[0])) >> 9);
|
||||
return m_sample[0] + ((bitfield<s32>(m_accum, std::max<s8>(0, m_fraction - 9), 9) * (m_sample[1] - m_sample[0])) >> 9);
|
||||
}
|
||||
|
||||
u32 es550x_shared_core::es550x_alu_t::get_accum_integer()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue