From 3ed4a9ee433b8081d4fb0d79baf6d050c9789bdd Mon Sep 17 00:00:00 2001 From: Phil Bennett Date: Mon, 23 Feb 2009 13:34:16 +0000 Subject: [PATCH] 02947: turbosb6, turbosb7: [debug] Assertion [Phil Bennett] --- src/mame/drivers/esripsys.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mame/drivers/esripsys.c b/src/mame/drivers/esripsys.c index ce994f986b3..bb231c2860c 100644 --- a/src/mame/drivers/esripsys.c +++ b/src/mame/drivers/esripsys.c @@ -554,7 +554,7 @@ static READ8_HANDLER( tms5220_r ) if (offset == 0) { /* TMS5220 core returns status bits in D7-D6 */ - const device_config *tms = devtag_get_device(space->machine, SOUND, "tms"); + const device_config *tms = devtag_get_device(space->machine, SOUND, "tms5220nl"); UINT8 status = tms5220_status_r(tms, 0); status = ((status & 0x80) >> 5) | ((status & 0x40) >> 5) | ((status & 0x20) >> 5); @@ -567,7 +567,7 @@ static READ8_HANDLER( tms5220_r ) /* TODO: Implement correctly using the state PROM */ static WRITE8_HANDLER( tms5220_w ) { - const device_config *tms = devtag_get_device(space->machine, SOUND, "tms"); + const device_config *tms = devtag_get_device(space->machine, SOUND, "tms5220nl"); if (offset == 0) { tms_data = data;