diff options
author | npwoods <npwoods@mess.org> | 2019-08-05 11:03:50 -0400 |
---|---|---|
committer | npwoods <npwoods@mess.org> | 2019-08-05 11:03:50 -0400 |
commit | 12e0982f3cdb8d1683884847ad628663407706b7 (patch) | |
tree | 82e966b039e1578b9e0199381cc4fe9e6789c8fd /src/frontend/mame/ui/info.cpp | |
parent | 95a9220722902440a425dc82ae47a7026082d182 (diff) |
Changed mechanisms for overriding the mandatory file manager
- Removed the -skip_mandatory_fileman command line option
- Created an emu.register_mandatory_file_manager_override() LUA function
to allow LUA plugins to substitute the mandatory file manager
Diffstat (limited to 'src/frontend/mame/ui/info.cpp')
-rw-r--r-- | src/frontend/mame/ui/info.cpp | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/frontend/mame/ui/info.cpp b/src/frontend/mame/ui/info.cpp index 46d092722d2..b28af0eb817 100644 --- a/src/frontend/mame/ui/info.cpp +++ b/src/frontend/mame/ui/info.cpp @@ -408,35 +408,6 @@ std::string machine_info::game_info_string() const //------------------------------------------------- -// mandatory_images - search for devices which -// need an image to be loaded -//------------------------------------------------- - -std::string machine_info::mandatory_images() const -{ - std::ostringstream buf; - bool is_first = true; - - // make sure that any required image has a mounted file - for (device_image_interface &image : image_interface_iterator(m_machine.root_device())) - { - if (image.must_be_loaded()) - { - if (m_machine.options().image_option(image.instance_name()).value().empty()) - { - if (is_first) - is_first = false; - else - buf << ", "; - buf << "\"" << image.instance_name() << "\""; - } - } - } - return buf.str(); -} - - -//------------------------------------------------- // get_screen_desc - returns the description for // a given screen //------------------------------------------------- |