summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/sound/multipcm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/sound/multipcm.c')
-rw-r--r--src/emu/sound/multipcm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/sound/multipcm.c b/src/emu/sound/multipcm.c
index 5f984ffeadb..69c164bad2c 100644
--- a/src/emu/sound/multipcm.c
+++ b/src/emu/sound/multipcm.c
@@ -534,7 +534,7 @@ void multipcm_device::device_start()
for (int j = 0; j < 12; j++)
{
- ptSample[j] = (UINT8)m_direct->read_raw_byte((i*12) + j);
+ ptSample[j] = (UINT8)m_direct->read_byte((i*12) + j);
}
m_Samples[i].Start=(ptSample[0]<<16)|(ptSample[1]<<8)|(ptSample[2]<<0);
@@ -616,7 +616,7 @@ void multipcm_device::sound_stream_update(sound_stream &stream, stream_sample_t
unsigned int adr=slot->offset>>SHIFT;
signed int sample;
unsigned int step=slot->step;
- signed int csample=(signed short) (m_direct->read_raw_byte(slot->Base+adr)<<8);
+ signed int csample=(signed short) (m_direct->read_byte(slot->Base+adr)<<8);
signed int fpart=slot->offset&((1<<SHIFT)-1);
sample=(csample*fpart+slot->Prev*((1<<SHIFT)-fpart))>>SHIFT;