Skip to content

Commit

Permalink
Fix invalid error message and copy/paste typo (nw)
Browse files Browse the repository at this point in the history
  • Loading branch information
rb6502 committed Aug 23, 2013
1 parent 8eb3f42 commit abf2bf7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/emu/sound/multipcm.c
Expand Up @@ -390,7 +390,7 @@ multipcm_device::multipcm_device(const machine_config &mconfig, const char *tag,
: device_t(mconfig, MULTIPCM, "Sega/Yamaha 315-5560", tag, owner, clock, "multipcm", __FILE__),
device_sound_interface(mconfig, *this),
device_memory_interface(mconfig, *this),
m_space_config("mpcm_samples", ENDIANNESS_LITTLE, 8, 24, 0, NULL, *ADDRESS_MAP_NAME(multipcm)),
m_space_config("mpcm_samples", ENDIANNESS_LITTLE, 8, 24, 0, NULL),
m_stream(NULL),
//m_Samples(0x200),
//m_Slots[28],
Expand All @@ -403,6 +403,7 @@ multipcm_device::multipcm_device(const machine_config &mconfig, const char *tag,
//m_DRStep(0),
//m_FNS_Table(0)
{
m_address_map[0] = *ADDRESS_MAP_NAME(multipcm);
}

//-------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/mame/audio/segam1audio.c
Expand Up @@ -20,7 +20,7 @@ static ADDRESS_MAP_START( segam1audio_map, AS_PROGRAM, 16, segam1audio_device )
AM_RANGE(0xc40000, 0xc40007) AM_DEVREADWRITE8(MULTIPCM_1_TAG, multipcm_device, read, write, 0x00ff )
AM_RANGE(0xc40012, 0xc40013) AM_WRITENOP
AM_RANGE(0xc50000, 0xc50001) AM_WRITE(m1_snd_mpcm_bnk1_w )
AM_RANGE(0xc60000, 0xc60007) AM_DEVREADWRITE8(MULTIPCM_1_TAG, multipcm_device, read, write, 0x00ff )
AM_RANGE(0xc60000, 0xc60007) AM_DEVREADWRITE8(MULTIPCM_2_TAG, multipcm_device, read, write, 0x00ff )
AM_RANGE(0xc70000, 0xc70001) AM_WRITE(m1_snd_mpcm_bnk2_w )
AM_RANGE(0xd00000, 0xd00007) AM_DEVREADWRITE8(YM3438_TAG, ym3438_device, read, write, 0x00ff )
AM_RANGE(0xf00000, 0xf0ffff) AM_RAM
Expand Down

0 comments on commit abf2bf7

Please sign in to comment.