diff options
author | 2010-06-28 06:40:44 +0000 | |
---|---|---|
committer | 2010-06-28 06:40:44 +0000 | |
commit | 41b9dbb9ace490ee8ab0bd87d35a50e9b693d538 (patch) | |
tree | 945b176affb6ad7958b2016777241736ff6f294d /src/emu/devcpu.h | |
parent | f9a3aaf5c82bae95ba12b517beaf3fe5d4d1a93a (diff) |
Made the machine_config a proper object. Added detokenize method to
this object which can be called multiple times to append new devices
after the initial machine configuration is set up. Updated member
variables to match new naming convention.
Changed the running_machine to take a constructed machine_config
object in the constructor, instead of creating one itself, for
consistency. Also added machine->total_colors() as a shortcut to
machine->config->m_total_colors.
Diffstat (limited to 'src/emu/devcpu.h')
-rw-r--r-- | src/emu/devcpu.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/devcpu.h b/src/emu/devcpu.h index 490d8c3f800..6a0d6352166 100644 --- a/src/emu/devcpu.h +++ b/src/emu/devcpu.h @@ -179,10 +179,10 @@ enum //************************************************************************** // device iteration helpers -#define cpu_count(config) (config)->devicelist.count(CPU) -#define cpu_first(config) (config)->devicelist.first(CPU) +#define cpu_count(config) (config)->m_devicelist.count(CPU) +#define cpu_first(config) (config)->m_devicelist.first(CPU) #define cpu_next(previous) (previous)->typenext() -#define cpu_get_index(cpu) (cpu)->machine->devicelist.index(CPU, (cpu)->tag()) +#define cpu_get_index(cpu) (cpu)->machine->m_devicelist.index(CPU, (cpu)->tag()) // CPU interface functions |