diff options
Diffstat (limited to 'src/frontend/mame/info.cpp')
-rw-r--r-- | src/frontend/mame/info.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/frontend/mame/info.cpp b/src/frontend/mame/info.cpp index 6d1712e6ca4..515ce246c7a 100644 --- a/src/frontend/mame/info.cpp +++ b/src/frontend/mame/info.cpp @@ -1583,17 +1583,6 @@ void info_xml_creator::output_driver(game_driver const &driver, device_t::featur emulation problems. */ - auto const print_feature = - [this, unemulated, imperfect] (device_t::feature_type feature, char const *name, bool show_good) - { - if (unemulated & feature) - fprintf(m_output, " %s=\"preliminary\"", name); - else if (imperfect & feature) - fprintf(m_output, " %s=\"imperfect\"", name); - else if (show_good) - fprintf(m_output, " %s=\"good\"", name); - }; - u32 const flags = driver.flags; bool const machine_preliminary(flags & (machine_flags::NOT_WORKING | machine_flags::MECHANICAL)); bool const unemulated_preliminary(unemulated & (device_t::feature::PALETTE | device_t::feature::GRAPHICS | device_t::feature::SOUND | device_t::feature::KEYBOARD)); @@ -1611,15 +1600,9 @@ void info_xml_creator::output_driver(game_driver const &driver, device_t::featur else fprintf(m_output, " emulation=\"good\""); - print_feature(device_t::feature::PALETTE, "color", true); - print_feature(device_t::feature::SOUND, "sound", true); - print_feature(device_t::feature::GRAPHICS, "graphic", true); - if (flags & machine_flags::NO_COCKTAIL) fprintf(m_output, " cocktail=\"preliminary\""); - print_feature(device_t::feature::PROTECTION, "protection", false); - if (flags & machine_flags::SUPPORTS_SAVE) fprintf(m_output, " savestate=\"supported\""); else |