From 389e05a300a42e350b2f11fbf2403d3a6d271da0 Mon Sep 17 00:00:00 2001 From: cracyc Date: Tue, 5 Apr 2016 21:10:13 -0500 Subject: luaengine: direct and region accessors [Carl] --- src/emu/ui/ui.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/emu/ui/ui.cpp') diff --git a/src/emu/ui/ui.cpp b/src/emu/ui/ui.cpp index ab295c8d5fe..274a347b1ac 100644 --- a/src/emu/ui/ui.cpp +++ b/src/emu/ui/ui.cpp @@ -13,6 +13,7 @@ #include "video/vector.h" #include "machine/laserdsc.h" #include "render.h" +#include "luaengine.h" #include "cheat.h" #include "rendfont.h" #include "uiinput.h" @@ -481,7 +482,10 @@ void ui_manager::update_and_render(render_container *container) // render any cheat stuff at the bottom if (machine().phase() >= MACHINE_PHASE_RESET) + { + machine().manager().lua()->on_frame_done(); machine().cheat().render_text(*container); + } // call the current UI handler assert(m_handler_callback != nullptr); -- cgit v1.2.3-70-g09d2