summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/ui/info.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/ui/info.cpp')
-rw-r--r--src/emu/ui/info.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/emu/ui/info.cpp b/src/emu/ui/info.cpp
index cb84a99418a..0b198769b15 100644
--- a/src/emu/ui/info.cpp
+++ b/src/emu/ui/info.cpp
@@ -30,7 +30,7 @@ ui_menu_game_info::~ui_menu_game_info()
void ui_menu_game_info::populate()
{
std::string tempstring;
- item_append(machine().ui().game_info_astring(tempstring).c_str(), NULL, MENU_FLAG_MULTILINE, NULL);
+ item_append(machine().ui().game_info_astring(tempstring).c_str(), nullptr, MENU_FLAG_MULTILINE, nullptr);
}
void ui_menu_game_info::handle()
@@ -55,11 +55,11 @@ ui_menu_image_info::~ui_menu_image_info()
void ui_menu_image_info::populate()
{
- item_append(machine().system().description, NULL, MENU_FLAG_DISABLE, NULL);
- item_append("", NULL, MENU_FLAG_DISABLE, NULL);
+ item_append(machine().system().description, nullptr, MENU_FLAG_DISABLE, nullptr);
+ item_append("", nullptr, MENU_FLAG_DISABLE, nullptr);
image_interface_iterator iter(machine().root_device());
- for (device_image_interface *image = iter.first(); image != NULL; image = iter.next())
+ for (device_image_interface *image = iter.first(); image != nullptr; image = iter.next())
image_info(image);
}
@@ -80,7 +80,7 @@ void ui_menu_image_info::image_info(device_image_interface *image)
if (image->exists())
{
// display device type and filename
- item_append(image->brief_instance_name(), image->basename(), 0, NULL);
+ item_append(image->brief_instance_name(), image->basename(), 0, nullptr);
// if image has been loaded through softlist, let's add some more info
if (image->software_entry())
@@ -88,20 +88,20 @@ void ui_menu_image_info::image_info(device_image_interface *image)
std::string str;
// display long filename
- item_append(image->longname(), "", MENU_FLAG_DISABLE, NULL);
+ item_append(image->longname(), "", MENU_FLAG_DISABLE, nullptr);
// display manufacturer and year
strcatprintf(str, "%s, %s", image->manufacturer(), image->year());
- item_append(str.c_str(), "", MENU_FLAG_DISABLE, NULL);
+ item_append(str.c_str(), "", MENU_FLAG_DISABLE, nullptr);
// display supported information, if available
switch (image->supported())
{
case SOFTWARE_SUPPORTED_NO:
- item_append("Not supported", "", MENU_FLAG_DISABLE, NULL);
+ item_append("Not supported", "", MENU_FLAG_DISABLE, nullptr);
break;
case SOFTWARE_SUPPORTED_PARTIAL:
- item_append("Partially supported", "", MENU_FLAG_DISABLE, NULL);
+ item_append("Partially supported", "", MENU_FLAG_DISABLE, nullptr);
break;
default:
break;
@@ -109,6 +109,6 @@ void ui_menu_image_info::image_info(device_image_interface *image)
}
}
else
- item_append(image->brief_instance_name(), "[empty]", 0, NULL);
- item_append("", NULL, MENU_FLAG_DISABLE, NULL);
+ item_append(image->brief_instance_name(), "[empty]", 0, nullptr);
+ item_append("", nullptr, MENU_FLAG_DISABLE, nullptr);
}