Skip to content

Commit 5758065

Browse files
committed
videoopt: use subtext string to indicate current view
1 parent 682a32c commit 5758065

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/frontend/mame/ui/videoopt.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#include "emu.h"
1212
#include "ui/videoopt.h"
1313

14+
#include "rendfont.h"
1415
#include "rendlay.h"
1516
#include "rendutil.h"
1617

@@ -121,7 +122,7 @@ void menu_video_options::populate()
121122
if (!m_snapshot || !machine().video().snap_native())
122123
{
123124
for (char const *name = m_target.view_name(ref = 0); name; name = m_target.view_name(++ref))
124-
item_append(name, " ", 0, reinterpret_cast<void *>(ITEM_VIEW_FIRST + ref));
125+
item_append(name, ref == m_target.view() ? convert_command_glyph("_> ") : " ", 0, reinterpret_cast<void *>(ITEM_VIEW_FIRST + ref));
125126
item_append(menu_item_type::SEPARATOR);
126127
}
127128

0 commit comments

Comments
 (0)