summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend/mame/ui/moptions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/mame/ui/moptions.cpp')
-rw-r--r--src/frontend/mame/ui/moptions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/mame/ui/moptions.cpp b/src/frontend/mame/ui/moptions.cpp
index 1b4779ddaf0..b4da221e18e 100644
--- a/src/frontend/mame/ui/moptions.cpp
+++ b/src/frontend/mame/ui/moptions.cpp
@@ -96,7 +96,7 @@ ui_options::ui_options() : core_options()
rgb_t ui_options::rgb_value(const char *option) const
{
// find the entry
- core_options::entry::shared_ptr entry = get_entry(option);
+ core_options::entry::shared_const_ptr entry = get_entry(option);
// look up the value, and sanity check the result
const char *value = entry->value();