summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/system1.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2012-09-27 14:33:26 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2012-09-27 14:33:26 +0000
commit0e1fddec1e798e373e1b680e00ee8d424e6c09ca (patch)
treea31c122e18371ad6d6e48df7cdd8254c4e73272f /src/mame/drivers/system1.c
parent52bebe40719cc092ca546dd100415676dd26f6e8 (diff)
Replace some *_DEVICE_HANDLER with _MEMBER calls (no whatsnew)
Diffstat (limited to 'src/mame/drivers/system1.c')
-rw-r--r--src/mame/drivers/system1.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mame/drivers/system1.c b/src/mame/drivers/system1.c
index ad7a6aae3f7..4f4fdc5f385 100644
--- a/src/mame/drivers/system1.c
+++ b/src/mame/drivers/system1.c
@@ -471,7 +471,6 @@ static void dakkochn_custom_w(running_machine &machine, UINT8 data, UINT8 prevda
WRITE8_MEMBER(system1_state::sound_control_w)
{
- device_t *device = machine().device("ppi8255");
/* bit 0 = MUTE (inverted sense on System 2) */
machine().sound().system_mute((data ^ m_mute_xor) & 1);
@@ -481,7 +480,7 @@ WRITE8_MEMBER(system1_state::sound_control_w)
machine().device("soundcpu")->execute().set_input_line(INPUT_LINE_NMI, (data & 0x80) ? CLEAR_LINE : ASSERT_LINE);
/* remaining bits are used for video RAM banking */
- system1_videoram_bank_w(device, space, offset, data);
+ system1_videoram_bank_w(space, offset, data);
}