summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend/mame/ui/selsoft.cpp
diff options
context:
space:
mode:
author npwoods <npwoods@alumni.carnegiemellon.edu>2017-03-04 16:00:18 -0500
committer ajrhacker <ajrhacker@users.noreply.github.com>2017-03-04 16:00:18 -0500
commita011e3a22ef667358e94d4a6deb6ad440b6b35f3 (patch)
tree48c7e4f6c926106f04e87299ec52cf406e0e778c /src/frontend/mame/ui/selsoft.cpp
parent573853e3b6851d64a4324ba18e98e7afc58cead6 (diff)
Changed a few more 'const char *' ==> 'const std::string &' (#2111)
Diffstat (limited to 'src/frontend/mame/ui/selsoft.cpp')
-rw-r--r--src/frontend/mame/ui/selsoft.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/mame/ui/selsoft.cpp b/src/frontend/mame/ui/selsoft.cpp
index 17e7abc1a7e..b5eeb36b204 100644
--- a/src/frontend/mame/ui/selsoft.cpp
+++ b/src/frontend/mame/ui/selsoft.cpp
@@ -540,7 +540,7 @@ void menu_select_software::build_software_list()
const char *interface = image.image_interface();
if (interface != nullptr && part.matches_interface(interface))
{
- instance_name = image.instance_name();
+ instance_name = image.instance_name().c_str();
if (instance_name != nullptr)
tmpmatches.instance = image.instance_name();