summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend/mame/ui/state.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/mame/ui/state.cpp')
-rw-r--r--src/frontend/mame/ui/state.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frontend/mame/ui/state.cpp b/src/frontend/mame/ui/state.cpp
index 28d47040d60..f66b5af4a9a 100644
--- a/src/frontend/mame/ui/state.cpp
+++ b/src/frontend/mame/ui/state.cpp
@@ -203,8 +203,8 @@ void menu_load_save_state_base::populate(float &customtop, float &custombottom)
}
// set up custom render proc
- customtop = ui().get_line_height() + 3.0f * UI_BOX_TB_BORDER;
- custombottom = ui().get_line_height() + 3.0f * UI_BOX_TB_BORDER;
+ customtop = ui().get_line_height() + 3.0f * ui().box_tb_border();
+ custombottom = ui().get_line_height() + 3.0f * ui().box_tb_border();
// pause if appropriate
if (!m_pause_checked)