summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/mconfig.c
diff options
context:
space:
mode:
author Angelo Salese <angelosa@users.noreply.github.com>2012-01-29 16:34:26 +0000
committer Angelo Salese <angelosa@users.noreply.github.com>2012-01-29 16:34:26 +0000
commit505442d0a0bdc2944f699d9102ae0829703a5407 (patch)
tree1a4c2f72533c67984e0112d35905f480a3a9b0ea /src/emu/mconfig.c
parent5d0cb30e84215504e368130db9e4573c37e458f2 (diff)
Clean-ups and version bumpmame0144u7
Diffstat (limited to 'src/emu/mconfig.c')
-rw-r--r--src/emu/mconfig.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/mconfig.c b/src/emu/mconfig.c
index 95ef6ec936c..313754e4f16 100644
--- a/src/emu/mconfig.c
+++ b/src/emu/mconfig.c
@@ -80,10 +80,10 @@ machine_config::machine_config(const game_driver &gamedrv, emu_options &options)
if (!options.exists(owner.tag()+1))
selval = slot->get_default_card(*this, options);
- if (selval != NULL && strlen(selval) != 0)
+ if (selval != NULL && strlen(selval) != 0)
{
bool found = false;
- for (int i = 0; intf[i].name != NULL; i++)
+ for (int i = 0; intf[i].name != NULL; i++)
{
if (strcmp(selval, intf[i].name) == 0)
{
@@ -143,7 +143,7 @@ device_t *machine_config::device_add(device_t *owner, const char *tag, device_ty
// if there's an owner, let the owner do the work
if (owner != NULL)
return owner->add_subdevice(type, tag, clock);
-
+
// otherwise, allocate the device directly
assert(m_root_device == NULL);
m_root_device = (*type)(*this, tag, owner, clock);
@@ -171,7 +171,7 @@ device_t *machine_config::device_replace(device_t *owner, const char *tag, devic
mame_printf_warning("Warning: attempting to replace non-existent device '%s'\n", tag);
return device_add(owner, tag, type, clock);
}
-
+
// let the device's owner do the work
return device->owner()->replace_subdevice(*device, type, tag, clock);
}