summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/emuopts.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2012-01-03 00:21:13 +0000
committer Aaron Giles <aaron@aarongiles.com>2012-01-03 00:21:13 +0000
commit64f1231c6300b144d946cb5530e40c288c43791f (patch)
tree92abaefa81552cb9ad78ff7c142e0fff5f9f7bba /src/emu/emuopts.c
parent8b492b8d80c5998f1e695706dfaa1bb1d35b9263 (diff)
Removed old C-based interface to astrings. astring exists only as
a class now. Updated all stragglers (mostly tools) to use the class form. [Aaron Giles]
Diffstat (limited to 'src/emu/emuopts.c')
-rw-r--r--src/emu/emuopts.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/emuopts.c b/src/emu/emuopts.c
index 871a3deba63..3d08d3db051 100644
--- a/src/emu/emuopts.c
+++ b/src/emu/emuopts.c
@@ -448,10 +448,10 @@ void emu_options::parse_standard_inis(astring &error_string)
// next parse "source/<sourcefile>.ini"; if that doesn't exist, try <sourcefile>.ini
astring sourcename;
- core_filename_extract_base(&sourcename, cursystem->source_file, TRUE)->ins(0, "source" PATH_SEPARATOR);
+ core_filename_extract_base(sourcename, cursystem->source_file, true).ins(0, "source" PATH_SEPARATOR);
if (!parse_one_ini(sourcename, OPTION_PRIORITY_SOURCE_INI, &error_string))
{
- core_filename_extract_base(&sourcename, cursystem->source_file, TRUE);
+ core_filename_extract_base(sourcename, cursystem->source_file, true);
parse_one_ini(sourcename, OPTION_PRIORITY_SOURCE_INI, &error_string);
}
@@ -474,7 +474,7 @@ void emu_options::parse_standard_inis(astring &error_string)
const game_driver *emu_options::system() const
{
astring tempstr;
- int index = driver_list::find(*core_filename_extract_base(&tempstr, system_name(), TRUE));
+ int index = driver_list::find(core_filename_extract_base(tempstr, system_name(), true));
return (index != -1) ? &driver_list::driver(index) : NULL;
}