From e501805f0f21f77885ffce155dedb08a04d9dd91 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Thu, 28 Jul 2016 21:48:10 +1000 Subject: [PATCH] Fix stuk soctlist art (nw) --- src/frontend/mame/ui/selmenu.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/frontend/mame/ui/selmenu.cpp b/src/frontend/mame/ui/selmenu.cpp index 64b4855c967..9a942e88e22 100644 --- a/src/frontend/mame/ui/selmenu.cpp +++ b/src/frontend/mame/ui/selmenu.cpp @@ -1551,13 +1551,13 @@ void menu_select_launch::arts_render(float origx1, float origy1, float origx2, f m_cache->set_snapx_driver(nullptr); if (ui_globals::default_image) - (software->startempty == 0) ? ui_globals::curimage_view = SNAPSHOT_VIEW : ui_globals::curimage_view = CABINETS_VIEW; + ui_globals::curimage_view = (software->startempty == 0) ? SNAPSHOT_VIEW : CABINETS_VIEW; // arts title and searchpath std::string const searchstr = arts_render_common(origx1, origy1, origx2, origy2); // loads the image if necessary - if (m_cache->snapx_software_is(software) || !snapx_valid() || ui_globals::switch_image) + if (!m_cache->snapx_software_is(software) || !snapx_valid() || ui_globals::switch_image) { emu_file snapfile(searchstr.c_str(), OPEN_FLAG_READ); bitmap_argb32 *tmp_bitmap; @@ -1630,7 +1630,7 @@ void menu_select_launch::arts_render(float origx1, float origy1, float origx2, f m_cache->set_snapx_software(nullptr); if (ui_globals::default_image) - ((driver->flags & MACHINE_TYPE_ARCADE) == 0) ? ui_globals::curimage_view = CABINETS_VIEW : ui_globals::curimage_view = SNAPSHOT_VIEW; + ui_globals::curimage_view = ((driver->flags & MACHINE_TYPE_ARCADE) == 0) ? CABINETS_VIEW : SNAPSHOT_VIEW; std::string const searchstr = arts_render_common(origx1, origy1, origx2, origy2);