std::string c64_expansion_slot_device::get_default_card_software() { if (open_image_file(mconfig().options())) { if (is_filetype("crt")) return cbm_crt_get_card(*m_file); clear(); } return software_get_default_slot("standard"); }
const char * c64_expansion_slot_device::get_default_card_software(const machine_config &config, emu_options &options) { if (open_image_file(options)) { if (!mame_stricmp(filetype(), "crt")) { return cbm_crt_get_card(m_file); } clear(); } return software_get_default_slot(config, options, this, "standard"); }
void c64_expansion_slot_device::get_default_card_software(astring &result) { if (open_image_file(mconfig().options())) { if (!mame_stricmp(filetype(), "crt")) { cbm_crt_get_card(result, m_file); return; } clear(); } software_get_default_slot(result, "standard"); }