diff options
author | 2016-04-05 21:10:13 -0500 | |
---|---|---|
committer | 2016-04-05 21:10:13 -0500 | |
commit | 389e05a300a42e350b2f11fbf2403d3a6d271da0 (patch) | |
tree | 95763c19d057767d61b3d88b7d2a238a5d121f2f /src/emu/ui/ui.cpp | |
parent | 4b40546d6836a0ca3c7d02f8adf389929ff33f67 (diff) |
luaengine: direct and region accessors [Carl]
Diffstat (limited to 'src/emu/ui/ui.cpp')
-rw-r--r-- | src/emu/ui/ui.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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); |