diff options
Diffstat (limited to 'src/mame/audio/taito_en.c')
-rw-r--r-- | src/mame/audio/taito_en.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/audio/taito_en.c b/src/mame/audio/taito_en.c index d84a716d142..38ced54e84c 100644 --- a/src/mame/audio/taito_en.c +++ b/src/mame/audio/taito_en.c @@ -47,7 +47,7 @@ WRITE16_HANDLER( f3_es5505_bank_w ) /* mask out unused bits */ data &= max_banks_this_game; - es5505_voice_bank_0_w(offset,data<<20); + es5505_voice_bank_w(devtag_get_device(space->machine, SOUND, "ensoniq"),offset,data<<20); } WRITE16_HANDLER( f3_volume_w ) @@ -233,7 +233,7 @@ static UINT16 *sound_ram; ADDRESS_MAP_START( f3_sound_map, ADDRESS_SPACE_PROGRAM, 16 ) AM_RANGE(0x000000, 0x00ffff) AM_RAM AM_MIRROR(0x30000) AM_SHARE(1) AM_BASE(&sound_ram) AM_RANGE(0x140000, 0x140fff) AM_READWRITE(f3_68000_share_r, f3_68000_share_w) - AM_RANGE(0x200000, 0x20001f) AM_READWRITE(es5505_data_0_r, es5505_data_0_w) + AM_RANGE(0x200000, 0x20001f) AM_DEVREADWRITE(SOUND, "ensoniq", es5505_r, es5505_w) AM_RANGE(0x260000, 0x2601ff) AM_READWRITE(es5510_dsp_r, es5510_dsp_w) AM_RANGE(0x280000, 0x28001f) AM_READWRITE(f3_68681_r, f3_68681_w) AM_RANGE(0x300000, 0x30003f) AM_WRITE(f3_es5505_bank_w) @@ -266,7 +266,7 @@ const es5505_interface es5505_taito_f3_config = { "ensoniq.0", /* Bank 0: Unused by F3 games? */ "ensoniq.0", /* Bank 1: All games seem to use this */ - 0 /* irq */ + NULL /* irq */ }; |