summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/mame.h
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/mame.h
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/mame.h')
-rw-r--r--src/emu/mame.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/mame.h b/src/emu/mame.h
index b847643f8cb..c0f61bbbedd 100644
--- a/src/emu/mame.h
+++ b/src/emu/mame.h
@@ -152,7 +152,7 @@ struct _running_machine
const input_port_config *portconfig; /* points to a list of input port configurations */
/* CPU information */
- const device_config * cpu[8]; /* array of first 8 CPU devices */
+ const device_config * firstcpu; /* first CPU (allows for quick iteration via typenext) */
/* game-related information */
const game_driver * gamedrv; /* points to the definition of the game machine */