diff options
author | feos <feos-theos@yandex.ru> | 2019-09-24 23:46:50 +0300 |
---|---|---|
committer | feos <feos-theos@yandex.ru> | 2019-09-24 23:48:08 +0300 |
commit | 66234b509ce98b26ae776f99ae1f4910282f1557 (patch) | |
tree | bff49aa5a425ea50b317b02e9604f5f0d09d1cc1 /src/frontend/mame/mame.cpp | |
parent | ec4b8b2fa4db449ac7e2a683db953e93026c04cc (diff) |
callback after sound update has generated new samples
Diffstat (limited to 'src/frontend/mame/mame.cpp')
-rw-r--r-- | src/frontend/mame/mame.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/frontend/mame/mame.cpp b/src/frontend/mame/mame.cpp index e5a59cd6039..e0d45e504c1 100644 --- a/src/frontend/mame/mame.cpp +++ b/src/frontend/mame/mame.cpp @@ -413,6 +413,11 @@ bool emulator_info::frame_hook() return mame_machine_manager::instance()->lua()->frame_hook(); } +void emulator_info::sound_hook() +{ + return mame_machine_manager::instance()->lua()->on_sound_update(); +} + void emulator_info::layout_file_cb(util::xml::data_node const &layout) { util::xml::data_node const *const mamelayout = layout.get_child("mamelayout"); |