summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend/mame/ui/moptions.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2019-11-23 11:30:07 +1100
committer Vas Crabb <vas@vastheman.com>2019-11-23 11:30:07 +1100
commite09f2e49a63ad667513ed3800153e5f3e6722f82 (patch)
treeff91f592f1862231de15deb57fac1a3cea1ede41 /src/frontend/mame/ui/moptions.cpp
parentaea6bbe2b4c49776c86acf22a1eacbabfda0e784 (diff)
util/options.cpp: fix locale issues and a const correctness issue
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();