summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend/mame/mame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/mame/mame.cpp')
-rw-r--r--src/frontend/mame/mame.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frontend/mame/mame.cpp b/src/frontend/mame/mame.cpp
index bc9d9b334b7..8e6a0614260 100644
--- a/src/frontend/mame/mame.cpp
+++ b/src/frontend/mame/mame.cpp
@@ -350,13 +350,13 @@ bool emulator_info::frame_hook()
return mame_machine_manager::instance()->lua()->frame_hook();
}
-void emulator_info::layout_file_cb(util::xml::data_node &layout)
+void emulator_info::layout_file_cb(util::xml::data_node const &layout)
{
util::xml::data_node const *const mamelayout = layout.get_child("mamelayout");
if (mamelayout)
{
util::xml::data_node const *const script = mamelayout->get_child("script");
- if(script)
+ if (script)
mame_machine_manager::instance()->lua()->call_plugin_set("layout", script->get_value());
}
}