Fix K053260 reloading counter

This commit is contained in:
cam900 2022-12-12 16:51:01 +09:00 committed by GitHub
parent 2ff68dad00
commit 82630317b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -59,6 +59,7 @@ void k053260_core::voice_t::tick()
{
m_bitpos -= 8;
}
m_counter = bitfield(m_pitch, 0, 12);
}
m_data = m_host.m_intf.read_sample(bitfield(m_addr, 0, 21)); // fetch ROM
if (update)
@ -76,6 +77,7 @@ void k053260_core::voice_t::tick()
if (m_loop)
{
m_addr = m_start;
m_remain = m_length;
m_adpcm_buf = 0;
}
else