diff options
author | 2014-01-29 11:47:56 +0000 | |
---|---|---|
committer | 2014-01-29 11:47:56 +0000 | |
commit | fb7edb68c6b7a88650999178573fac93c304fc29 (patch) | |
tree | a9f57f385ac079a1da47d9b0d2b5e5a41f1c3f41 /src/emu/render.c | |
parent | 972887faff192901353196798a138c616299a576 (diff) |
Moved src/emu/ui.? ==> src/emu/ui/ui.?, changed to follow MAME OOP conventions; we now have a ui_manager class
Diffstat (limited to 'src/emu/render.c')
-rw-r--r-- | src/emu/render.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/render.c b/src/emu/render.c index 715700389ba..b18ddbf5766 100644 --- a/src/emu/render.c +++ b/src/emu/render.c @@ -45,7 +45,7 @@ #include "config.h" #include "drivenum.h" #include "xmlfile.h" -#include "ui.h" +#include "ui/ui.h" @@ -1916,7 +1916,7 @@ bool render_target::map_point_internal(INT32 target_x, INT32 target_y, render_co // convert target coordinates to float float target_fx = (float)(target_x - root_xform.xoffs) / viswidth; float target_fy = (float)(target_y - root_xform.yoffs) / visheight; - if (ui_is_menu_active()) + if (manager().machine().ui().is_menu_active()) { target_fx = (float)target_x / m_width; target_fy = (float)target_y / m_height; |