From 0292fb02f796f7b01afde483a49ae4952e25a28c Mon Sep 17 00:00:00 2001 From: npwoods Date: Sat, 16 Nov 2024 16:09:00 -0500 Subject: Exposing full build version to LUA as emu.app_build (#12959) --- src/frontend/mame/luaengine.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/frontend/mame/luaengine.cpp b/src/frontend/mame/luaengine.cpp index 6a6c42773cc..d7375f34140 100644 --- a/src/frontend/mame/luaengine.cpp +++ b/src/frontend/mame/luaengine.cpp @@ -889,6 +889,7 @@ void lua_engine::initialize() // TODO: stuff below here needs to be rationalised emu["app_name"] = &emulator_info::get_appname_lower; emu["app_version"] = &emulator_info::get_bare_build_version; + emu["app_build"] = &emulator_info::get_build_version; emu["gamename"] = [this] () { return machine().system().type.fullname(); }; emu["romname"] = [this] () { return machine().basename(); }; emu["softname"] = [this] () { return machine().options().software_name(); }; -- cgit v1.2.3