summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend/mame/ui/auditmenu.h
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2021-10-11 13:14:31 +1100
committer Vas Crabb <vas@vastheman.com>2021-10-11 13:14:31 +1100
commitfd6309ee916c8109872e914ac22faedd8b6c8f49 (patch)
treebd3605dce3c7cc34804dea0e1ebd3c5aaf87dfb4 /src/frontend/mame/ui/auditmenu.h
parent00a9f25e72fa206c1e2e3a0233b47899bfcb9a7a (diff)
frontend: Keep cleaning up.
Got rid of one of the UI audit inputs. There only needs to be one, and the options can be presented in the confirmation menu. Two secret keystrokes is too confusing. Also got rid of the long-obsolete UI Toggle Debugger input. Added audit media button to the toolbar so it's a bit less opaque, and it can be accessed with a mouse/trackball (not just by knowing the key mapping). Made default I/O port names localisable. Made autofire plugin save port fields using the { port, mask, type } tuple, the same way MAME does. Unfortunately this will break existing autofire configuration, but it should be more stable going forward. Added some more UI keys to the default key mappings documentation.
Diffstat (limited to 'src/frontend/mame/ui/auditmenu.h')
-rw-r--r--src/frontend/mame/ui/auditmenu.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/frontend/mame/ui/auditmenu.h b/src/frontend/mame/ui/auditmenu.h
index 33b0c54863a..a9734e71709 100644
--- a/src/frontend/mame/ui/auditmenu.h
+++ b/src/frontend/mame/ui/auditmenu.h
@@ -25,9 +25,7 @@ namespace ui {
class menu_audit : public menu
{
public:
- enum class mode { FAST, ALL };
-
- menu_audit(mame_ui_manager &mui, render_container &container, std::vector<ui_system_info> &availablesorted, mode audit_mode);
+ menu_audit(mame_ui_manager &mui, render_container &container, std::vector<ui_system_info> &availablesorted);
virtual ~menu_audit() override;
protected:
@@ -44,13 +42,13 @@ private:
void save_available_machines();
std::thread m_worker_thread;
- mode const m_audit_mode;
- std::size_t const m_total;
- std::string m_prompt[2];
+ std::size_t const m_unavailable;
+ std::string m_prompt;
std::vector<ui_system_info> &m_availablesorted;
std::atomic<std::size_t> m_audited;
std::atomic<game_driver const *> m_current;
phase m_phase;
+ bool m_fast;
};
} // namespace ui