mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
Clean way of doing it (nw)
This commit is contained in:
parent
5b47ed4474
commit
4fe5d21f1e
@ -321,7 +321,6 @@ void running_machine::start()
|
||||
m_favorite = std::make_unique<favorite_manager>(*this);
|
||||
|
||||
manager().update_machine();
|
||||
manager().lua()->attach_notifiers();
|
||||
}
|
||||
|
||||
|
||||
|
@ -149,6 +149,7 @@ void machine_manager::schedule_new_driver(const game_driver &driver)
|
||||
void machine_manager::update_machine()
|
||||
{
|
||||
m_lua->set_machine(m_machine);
|
||||
m_lua->attach_notifiers();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user