summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend/mame/luaengine.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2018-03-02 00:14:28 +1100
committer Vas Crabb <vas@vastheman.com>2018-03-02 00:14:28 +1100
commite068541f5edcb8e6c4b17fe8147040377bd1fa30 (patch)
tree8edf2184495bb450cd644df745e15793c04b61bc /src/frontend/mame/luaengine.cpp
parent3317533e4168e834f68031885df53948bd43dc1d (diff)
start getting brutal on output.h (nw)
Diffstat (limited to 'src/frontend/mame/luaengine.cpp')
-rw-r--r--src/frontend/mame/luaengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/mame/luaengine.cpp b/src/frontend/mame/luaengine.cpp
index 771ecbe9bdf..26ed9ea93b8 100644
--- a/src/frontend/mame/luaengine.cpp
+++ b/src/frontend/mame/luaengine.cpp
@@ -1967,7 +1967,7 @@ void lua_engine::initialize()
"set_value", &output_manager::set_value,
"set_indexed_value", &output_manager::set_indexed_value,
"get_value", &output_manager::get_value,
- "get_indexed_value", &output_manager::get_indexed_value,
+ "get_indexed_value", [](output_manager &o, char const *basename, int index) { return o.get_value(util::string_format("%s%d", basename, index).c_str()); },
"name_to_id", &output_manager::name_to_id,
"id_to_name", &output_manager::id_to_name);