void ui_menu_dats_view::populate() { machine().pause(); (issoft == true) ? get_data_sw() : get_data(); item_append(MENU_SEPARATOR_ITEM, nullptr, (MENU_FLAG_UI_DATS | MENU_FLAG_LEFT_ARROW | MENU_FLAG_RIGHT_ARROW), nullptr); customtop = 2.0f * machine().ui().get_line_height() + 4.0f * UI_BOX_TB_BORDER; custombottom = machine().ui().get_line_height() + 3.0f * UI_BOX_TB_BORDER; machine().resume(); }
void menu_dats_view::populate() { bool paused = machine().paused(); if (!paused) machine().pause(); (m_issoft == true) ? get_data_sw() : get_data(); item_append(menu_item_type::SEPARATOR, (FLAG_UI_DATS | FLAG_LEFT_ARROW | FLAG_RIGHT_ARROW)); customtop = 2.0f * ui().get_line_height() + 4.0f * UI_BOX_TB_BORDER; custombottom = ui().get_line_height() + 3.0f * UI_BOX_TB_BORDER; if (!paused) machine().resume(); }