diff options
author | Olivier Galibert <galibert@pobox.com> | 2020-11-16 19:02:34 +0100 |
---|---|---|
committer | Olivier Galibert <galibert@pobox.com> | 2020-11-16 19:02:45 +0100 |
commit | 55460f084031be4de4beb2738e73d8a9f0af94ab (patch) | |
tree | 7aced6e75abd2006ee3f26272c9424a658940d6b /src/devices | |
parent | 290dd972048ae868fdcd8504f494bbe5586d1703 (diff) |
Fix multi32 broken by the memory changes
Diffstat (limited to 'src/devices')
-rw-r--r-- | src/devices/sound/multipcm.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/sound/multipcm.cpp b/src/devices/sound/multipcm.cpp index f614f9f4ba8..af83798165b 100644 --- a/src/devices/sound/multipcm.cpp +++ b/src/devices/sound/multipcm.cpp @@ -83,6 +83,7 @@ void multipcm_device::init_sample(sample_t *sample, uint32_t index) sample->m_start = (read_byte(address) << 16) | (read_byte(address + 1) << 8) | read_byte(address + 2); sample->m_format = (sample->m_start>>20) & 0xfe; + logerror("format = %02x\n", sample->m_format); sample->m_start &= 0x3fffff; sample->m_loop = (read_byte(address + 3) << 8) | read_byte(address + 4); sample->m_end = 0xffff - ((read_byte(address + 5) << 8) | read_byte(address + 6)); |