summaryrefslogtreecommitdiffstats
path: root/src/frontend/mame/ui/menu.cpp
diff options
context:
space:
mode:
author Vas Crabb <cuavas@users.noreply.github.com>2021-10-09 12:16:17 +1100
committer GitHub <noreply@github.com>2021-10-09 12:16:17 +1100
commit38082ccbee749d650ccea886ae376a5d1dec337c (patch)
tree9ba9a900ba826bda58832834278025ced17f42f5 /src/frontend/mame/ui/menu.cpp
parent34b3bf701098082feb9077db49987507962c1578 (diff)
Overdue internal UI enhancements (#8674)
* frontend: Added support for message context to localisations. * frontend: Added string_view versions of the message lookup functions. * frontend: Added a few more folder options to the internal UI. * emu/softlist.cpp: Use more appropriate containers. * Switched to Python 3 by default - this will become a requirement. * Updated msgfmt.py for message context support. * frontend: Show all software item info in the internal UI. * frontend: Search alternate titles in software selection menu. * 3rdparty/utf8proc: Updated to v2.6.1 (has several fixes). * frontend: Added software filters for common info fields. * frontend: Allow UI manager to hold onto persistent session data. * frontend: Cache software lists for eight machines. * frontend: Added support for loading localised system names. * frontend: Add UI for selecting localised system names.
Diffstat (limited to 'src/frontend/mame/ui/menu.cpp')
-rw-r--r--src/frontend/mame/ui/menu.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/frontend/mame/ui/menu.cpp b/src/frontend/mame/ui/menu.cpp
index 923a0fae6df..b785deea72b 100644
--- a/src/frontend/mame/ui/menu.cpp
+++ b/src/frontend/mame/ui/menu.cpp
@@ -78,7 +78,6 @@ bool menu::exclusive_input_pressed(int &iptkey, int key, int repeat)
menu::global_state::global_state(running_machine &machine, ui_options const &options)
: widgets_manager(machine)
, m_machine(machine)
- , m_cleanup_callbacks()
, m_bgrnd_bitmap()
, m_bgrnd_texture(nullptr, machine.render())
, m_stack()
@@ -120,15 +119,6 @@ menu::global_state::~global_state()
stack_reset();
clear_free_list();
-
- for (auto const &callback : m_cleanup_callbacks)
- callback(m_machine);
-}
-
-
-void menu::global_state::add_cleanup_callback(cleanup_callback &&callback)
-{
- m_cleanup_callbacks.emplace_back(std::move(callback));
}