const game_driver *emu_options::system() const { astring tempstr; int index = driver_list::find(core_filename_extract_base(tempstr, system_name(), true)); return (index != -1) ? &driver_list::driver(index) : NULL; }
const game_driver *emu_options::system() const { int index = driver_list::find(core_filename_extract_base(system_name(), true).c_str()); return (index != -1) ? &driver_list::driver(index) : nullptr; }