diff options
Diffstat (limited to 'src/mame/drivers/lethal.c')
-rw-r--r-- | src/mame/drivers/lethal.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/lethal.c b/src/mame/drivers/lethal.c index dd0953491a6..78e4aa71536 100644 --- a/src/mame/drivers/lethal.c +++ b/src/mame/drivers/lethal.c @@ -267,9 +267,9 @@ static READ8_HANDLER( sound_status_r ) return 0xf; } -static void sound_nmi(running_machine *machine) +static void sound_nmi(const device_config *device) { - cpu_set_input_line(machine->cpu[1], INPUT_LINE_NMI, PULSE_LINE); + cpu_set_input_line(device->machine->cpu[1], INPUT_LINE_NMI, PULSE_LINE); } static WRITE8_HANDLER( le_bankswitch_w ) @@ -503,7 +503,7 @@ ADDRESS_MAP_END static ADDRESS_MAP_START( le_sound, ADDRESS_SPACE_PROGRAM, 8 ) AM_RANGE(0x0000, 0xefff) AM_ROM AM_RANGE(0xf000, 0xf7ff) AM_RAM - AM_RANGE(0xf800, 0xfa2f) AM_READWRITE(k054539_0_r, k054539_0_w) + AM_RANGE(0xf800, 0xfa2f) AM_DEVREADWRITE(SOUND, "konami", k054539_r, k054539_w) AM_RANGE(0xfc00, 0xfc00) AM_WRITE(soundlatch2_w) AM_RANGE(0xfc02, 0xfc02) AM_READ(soundlatch_r) AM_RANGE(0xfc03, 0xfc03) AM_READNOP |