summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/video.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2014-06-09 14:13:19 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2014-06-09 14:13:19 +0000
commit5e558f534d295490a81280ea1ddfe1d3acae976a (patch)
tree75a04f4ba8875204e3003b1cf32dc073da24ae80 /src/emu/video.c
parenta1b5d6f644dcb0032b84cd229d0129d2f9b85918 (diff)
made LUA script execute in main thread, but console running in another (nw)
Need to generalize mechanism of communication between threads and do more cleanup
Diffstat (limited to 'src/emu/video.c')
-rw-r--r--src/emu/video.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emu/video.c b/src/emu/video.c
index c97b0fef8b6..825f3c1bb97 100644
--- a/src/emu/video.c
+++ b/src/emu/video.c
@@ -223,6 +223,8 @@ void video_manager::frame_update(bool debug)
machine().osd().update(!debug && skipped_it);
g_profiler.stop();
+ machine().manager().lua()->periodic_check();
+
// perform tasks for this frame
if (!debug)
machine().call_notifiers(MACHINE_NOTIFY_FRAME);