mirror of
https://github.com/holub/mame
synced 2025-04-21 16:01:56 +03:00
Merge branch 'release0254' into mainline-master
This commit is contained in:
commit
cfb6760ff9
@ -17660,7 +17660,7 @@ legacy FM implementations cannot find it.
|
||||
</software>
|
||||
|
||||
<software name="whisitp" cloneof="whisit">
|
||||
<description>Where Is It? The Quest for the 10th Island (proto)</description>
|
||||
<description>Where Is It? The Quest for the 10th Island (prototype)</description>
|
||||
<year>2021</year>
|
||||
<publisher><homebrew></publisher>
|
||||
<info name="developer" value="Eric Mendel"/>
|
||||
|
@ -589,10 +589,10 @@ auto lua_engine::make_notifier_adder(util::notifier<T...> ¬ifier, const char
|
||||
delegate<void (T...)>(
|
||||
[this, desc, cbfunc = sol::protected_function(m_lua_state, cb)] (T... args)
|
||||
{
|
||||
auto status = invoke(cbfunc, args...);
|
||||
auto status(invoke(cbfunc, args...));
|
||||
if (!status.valid())
|
||||
{
|
||||
sol::error err(status);
|
||||
auto err(status.template get<sol::error>());
|
||||
osd_printf_error("[LUA ERROR] error in %s callback: %s\n", desc, err.what());
|
||||
}
|
||||
}));
|
||||
@ -643,7 +643,7 @@ auto lua_engine::make_simple_callback_setter(void (T::*setter)(delegate<R ()> &&
|
||||
}
|
||||
else
|
||||
{
|
||||
sol::error err(status);
|
||||
auto err(status.get<sol::error>());
|
||||
osd_printf_error("[LUA ERROR] error in %s callback: %s\n", desc, err.what());
|
||||
if constexpr (!std::is_same_v<R, void>)
|
||||
return dflt();
|
||||
|
@ -112,4 +112,4 @@ ROM_END
|
||||
} // anonymous namespace
|
||||
|
||||
|
||||
GAME( 2010, unkanyw, 0, unkanyw, unkanyw, anyworks_state, empty_init, ROT0, "AnyWorks / Sega", "unknown AnyWorks / Sega medal game bios", MACHINE_IS_SKELETON )
|
||||
GAME( 2010, unkanyw, 0, unkanyw, unkanyw, anyworks_state, empty_init, ROT0, "AnyWorks / Sega", "unknown AnyWorks / Sega medal game BIOS", MACHINE_IS_SKELETON )
|
||||
|
Loading…
Reference in New Issue
Block a user