diff options
author | 2016-04-28 17:29:27 -0400 | |
---|---|---|
committer | 2016-04-28 17:29:27 -0400 | |
commit | d5aa280c102c59b62497b029dc9f8aa835d15906 (patch) | |
tree | b43815f7e4efa60a192610bd9da41de80ea72d91 /src/frontend/mame/ui/menu.cpp | |
parent | 248794e88f533403d1218bf9c3aee864fc672f72 (diff) |
Move system name lookup into frontend (nw)
Diffstat (limited to 'src/frontend/mame/ui/menu.cpp')
-rw-r--r-- | src/frontend/mame/ui/menu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/mame/ui/menu.cpp b/src/frontend/mame/ui/menu.cpp index af7213d172f..c2d329db905 100644 --- a/src/frontend/mame/ui/menu.cpp +++ b/src/frontend/mame/ui/menu.cpp @@ -2627,7 +2627,7 @@ void ui_menu::draw_palette_menu() float gutter_width = lr_arrow_width * 1.3f; int itemnum, linenum; - if (ui().options().use_background_image() && machine().options().system() == nullptr && bgrnd_bitmap->valid()) + if (ui().options().use_background_image() && &machine().system() == &GAME_NAME(___empty) && bgrnd_bitmap->valid()) container->add_quad(0.0f, 0.0f, 1.0f, 1.0f, rgb_t::white, bgrnd_texture, PRIMFLAG_BLENDMODE(BLENDMODE_ALPHA)); // compute the width and height of the full menu |