diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2012-01-25 15:20:11 +0000 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2012-01-25 15:20:11 +0000 |
commit | fa10190461efc165e2a55c74fdd8513a2b8056e0 (patch) | |
tree | 8bb418b155a83816b87bb0da7b0edfb334011f54 /src/emu/mconfig.c | |
parent | 5c4409b557cbf49184ead3bc1dd22f56836824f2 (diff) |
Parameter names are now without : (no whatsnew)
Diffstat (limited to 'src/emu/mconfig.c')
-rw-r--r-- | src/emu/mconfig.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/mconfig.c b/src/emu/mconfig.c index 43c76b7ee7f..95ef6ec936c 100644 --- a/src/emu/mconfig.c +++ b/src/emu/mconfig.c @@ -76,8 +76,8 @@ machine_config::machine_config(const game_driver &gamedrv, emu_options &options) if (intf != NULL) { device_t &owner = slot->device(); - const char *selval = options.value(owner.tag()); - if (!options.exists(owner.tag())) + const char *selval = options.value(owner.tag()+1); + if (!options.exists(owner.tag()+1)) selval = slot->get_default_card(*this, options); if (selval != NULL && strlen(selval) != 0) @@ -95,7 +95,7 @@ machine_config::machine_config(const game_driver &gamedrv, emu_options &options) } } if (!found) - throw emu_fatalerror("Unknown slot option '%s' in slot '%s'", selval, owner.tag()); + throw emu_fatalerror("Unknown slot option '%s' in slot '%s'", selval, owner.tag()+1); } } } |