summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend/mame/ui/slotopt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/mame/ui/slotopt.cpp')
-rw-r--r--src/frontend/mame/ui/slotopt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/mame/ui/slotopt.cpp b/src/frontend/mame/ui/slotopt.cpp
index b41e7f4c935..36fed77ae3c 100644
--- a/src/frontend/mame/ui/slotopt.cpp
+++ b/src/frontend/mame/ui/slotopt.cpp
@@ -222,7 +222,7 @@ void menu_slot_devices::custom_render(void *selectedref, float top, float bottom
std::begin(text), std::end(text),
origx1, origx2, origy2 + UI_BOX_TB_BORDER, origy2 + bottom,
ui::text_layout::CENTER, ui::text_layout::TRUNCATE, false,
- UI_TEXT_COLOR, UI_BACKGROUND_COLOR, 1.0f);
+ ui().colors().text_color(), ui().colors().background_color(), 1.0f);
}
}