[BugFix] lua add stub for splash() to splashf()

Change-Id: If3fbcae201fd950c60eedc9e090cca5f9ca45bae
This commit is contained in:
William Wilgus 2025-06-03 01:45:18 -04:00
parent 5c2a33bba3
commit 380e8c2687

View file

@ -303,6 +303,14 @@ RB_WRAP(do_menu)
return 1;
}
RB_WRAP(splash)
{
int timeout = luaL_checkint(L, 1);
const char *str = luaL_checkstring(L, 2);
rb->splashf(timeout, str); /*rockaux.c*/
return 0;
}
RB_WRAP(splash_scroller)
{
int timeout = luaL_checkint(L, 1);
@ -964,6 +972,7 @@ static const luaL_Reg rocklib[] =
RB_FUNC(kbd_input),
RB_FUNC(gui_syncyesno_run),
RB_FUNC(do_menu),
RB_FUNC(splash),
RB_FUNC(splash_scroller),
/* DEVICE AUDIO / SOUND / PLAYLIST CONTROL */