summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2024-04-15 13:14:13 +0200
committer hap <happppp@users.noreply.github.com>2024-04-15 13:14:29 +0200
commit5758065e8b60e771feebc58ab53a04ae65eb4bc0 (patch)
tree2d5d6f796ac6a02e6c97981406c035ad91410385 /src/frontend
parent682a32c6458ab47a558dd15f7cf00669254b8351 (diff)
videoopt: use subtext string to indicate current view
Diffstat (limited to 'src/frontend')
-rw-r--r--src/frontend/mame/ui/videoopt.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/frontend/mame/ui/videoopt.cpp b/src/frontend/mame/ui/videoopt.cpp
index bae8fbcda80..0701c850816 100644
--- a/src/frontend/mame/ui/videoopt.cpp
+++ b/src/frontend/mame/ui/videoopt.cpp
@@ -11,6 +11,7 @@
#include "emu.h"
#include "ui/videoopt.h"
+#include "rendfont.h"
#include "rendlay.h"
#include "rendutil.h"
@@ -121,7 +122,7 @@ void menu_video_options::populate()
if (!m_snapshot || !machine().video().snap_native())
{
for (char const *name = m_target.view_name(ref = 0); name; name = m_target.view_name(++ref))
- item_append(name, " ", 0, reinterpret_cast<void *>(ITEM_VIEW_FIRST + ref));
+ item_append(name, ref == m_target.view() ? convert_command_glyph("_> ") : " ", 0, reinterpret_cast<void *>(ITEM_VIEW_FIRST + ref));
item_append(menu_item_type::SEPARATOR);
}