summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/8042kbdc.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2009-09-08 09:13:10 +0000
committer Aaron Giles <aaron@aarongiles.com>2009-09-08 09:13:10 +0000
commit96d7f2cf3b9f7065f834ab81e190e66818f83e29 (patch)
treef5a9d8996be6d41836e9754cd4b443b88dfb773c /src/emu/machine/8042kbdc.c
parent3d59122bb25c14f275227ed6cd4fcfb24d15f92b (diff)
Remove remaining references to machine->cpu[n]. Removed cpu[n] array.
Replaced with machine->firstcpu which is a fast access to the head of the list of CPUs.
Diffstat (limited to 'src/emu/machine/8042kbdc.c')
-rw-r--r--src/emu/machine/8042kbdc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/machine/8042kbdc.c b/src/emu/machine/8042kbdc.c
index 617a3837eb2..6e419bca100 100644
--- a/src/emu/machine/8042kbdc.c
+++ b/src/emu/machine/8042kbdc.c
@@ -584,7 +584,7 @@ WRITE8_HANDLER(kbdc8042_8_w)
* the bits low set in the command byte. The only pulse that has
* an effect currently is bit 0, which pulses the CPU's reset line
*/
- cpu_set_input_line(space->machine->cpu[0], INPUT_LINE_RESET, PULSE_LINE);
+ cpu_set_input_line(space->machine->firstcpu, INPUT_LINE_RESET, PULSE_LINE);
at_8042_set_outport(space->machine, kbdc8042.outport | 0x02, 0);
break;
}