summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/mconfig.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2013-01-11 07:32:46 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2013-01-11 07:32:46 +0000
commit0e19f641d3186cdbf51f8ca857e2b07ab95779c2 (patch)
tree234109de1123b13f217494af4b3f8efad346d5cc /src/emu/mconfig.c
parent111157ca09a9ff60fe4a9ba49173c315e94314fa (diff)
Cleanups and version bumpmame0148
Diffstat (limited to 'src/emu/mconfig.c')
-rw-r--r--src/emu/mconfig.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/emu/mconfig.c b/src/emu/mconfig.c
index c04e663b6da..06733836c96 100644
--- a/src/emu/mconfig.c
+++ b/src/emu/mconfig.c
@@ -52,17 +52,17 @@
machine_config::machine_config(const game_driver &gamedrv, emu_options &options)
: m_minimum_quantum(attotime::zero),
- m_watchdog_vblank_count(0),
- m_watchdog_time(attotime::zero),
- m_nvram_handler(NULL),
- m_memcard_handler(NULL),
- m_video_attributes(0),
- m_gfxdecodeinfo(NULL),
- m_total_colors(0),
- m_default_layout(NULL),
- m_gamedrv(gamedrv),
- m_options(options),
- m_root_device(NULL)
+ m_watchdog_vblank_count(0),
+ m_watchdog_time(attotime::zero),
+ m_nvram_handler(NULL),
+ m_memcard_handler(NULL),
+ m_video_attributes(0),
+ m_gfxdecodeinfo(NULL),
+ m_total_colors(0),
+ m_default_layout(NULL),
+ m_gamedrv(gamedrv),
+ m_options(options),
+ m_root_device(NULL)
{
// construct the config
(*gamedrv.machine_config)(*this, NULL);
@@ -70,7 +70,7 @@ machine_config::machine_config(const game_driver &gamedrv, emu_options &options)
bool is_selected_driver = strcmp(gamedrv.name,options.system_name())==0;
// intialize slot devices - make sure that any required devices have been allocated
slot_interface_iterator slotiter(root_device());
- for (device_slot_interface *slot = slotiter.first(); slot != NULL; slot = slotiter.next())
+ for (device_slot_interface *slot = slotiter.first(); slot != NULL; slot = slotiter.next())
{
const slot_interface *intf = slot->get_slot_interfaces();
if (intf != NULL)
@@ -171,7 +171,7 @@ device_t *machine_config::device_add(device_t *owner, const char *tag, device_ty
break;
if (!curdevice)
throw emu_fatalerror("Could not find %s when looking up path for device %s\n",
- part.cstr(), orig_tag);
+ part.cstr(), orig_tag);
owner = curdevice;
tag = next+1;
}