Skip to content

Commit abf2bf7

Browse files
committed
Fix invalid error message and copy/paste typo (nw)
1 parent 8eb3f42 commit abf2bf7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/emu/sound/multipcm.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ multipcm_device::multipcm_device(const machine_config &mconfig, const char *tag,
390390
: device_t(mconfig, MULTIPCM, "Sega/Yamaha 315-5560", tag, owner, clock, "multipcm", __FILE__),
391391
device_sound_interface(mconfig, *this),
392392
device_memory_interface(mconfig, *this),
393-
m_space_config("mpcm_samples", ENDIANNESS_LITTLE, 8, 24, 0, NULL, *ADDRESS_MAP_NAME(multipcm)),
393+
m_space_config("mpcm_samples", ENDIANNESS_LITTLE, 8, 24, 0, NULL),
394394
m_stream(NULL),
395395
//m_Samples(0x200),
396396
//m_Slots[28],
@@ -403,6 +403,7 @@ multipcm_device::multipcm_device(const machine_config &mconfig, const char *tag,
403403
//m_DRStep(0),
404404
//m_FNS_Table(0)
405405
{
406+
m_address_map[0] = *ADDRESS_MAP_NAME(multipcm);
406407
}
407408

408409
//-------------------------------------------------

src/mame/audio/segam1audio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ static ADDRESS_MAP_START( segam1audio_map, AS_PROGRAM, 16, segam1audio_device )
2020
AM_RANGE(0xc40000, 0xc40007) AM_DEVREADWRITE8(MULTIPCM_1_TAG, multipcm_device, read, write, 0x00ff )
2121
AM_RANGE(0xc40012, 0xc40013) AM_WRITENOP
2222
AM_RANGE(0xc50000, 0xc50001) AM_WRITE(m1_snd_mpcm_bnk1_w )
23-
AM_RANGE(0xc60000, 0xc60007) AM_DEVREADWRITE8(MULTIPCM_1_TAG, multipcm_device, read, write, 0x00ff )
23+
AM_RANGE(0xc60000, 0xc60007) AM_DEVREADWRITE8(MULTIPCM_2_TAG, multipcm_device, read, write, 0x00ff )
2424
AM_RANGE(0xc70000, 0xc70001) AM_WRITE(m1_snd_mpcm_bnk2_w )
2525
AM_RANGE(0xd00000, 0xd00007) AM_DEVREADWRITE8(YM3438_TAG, ym3438_device, read, write, 0x00ff )
2626
AM_RANGE(0xf00000, 0xf0ffff) AM_RAM

0 commit comments

Comments
 (0)