mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
[BugFix] lua add stub for splash() to splashf()
Change-Id: If3fbcae201fd950c60eedc9e090cca5f9ca45bae
This commit is contained in:
parent
5c2a33bba3
commit
380e8c2687
1 changed files with 9 additions and 0 deletions
|
@ -303,6 +303,14 @@ RB_WRAP(do_menu)
|
||||||
return 1;
|
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)
|
RB_WRAP(splash_scroller)
|
||||||
{
|
{
|
||||||
int timeout = luaL_checkint(L, 1);
|
int timeout = luaL_checkint(L, 1);
|
||||||
|
@ -964,6 +972,7 @@ static const luaL_Reg rocklib[] =
|
||||||
RB_FUNC(kbd_input),
|
RB_FUNC(kbd_input),
|
||||||
RB_FUNC(gui_syncyesno_run),
|
RB_FUNC(gui_syncyesno_run),
|
||||||
RB_FUNC(do_menu),
|
RB_FUNC(do_menu),
|
||||||
|
RB_FUNC(splash),
|
||||||
RB_FUNC(splash_scroller),
|
RB_FUNC(splash_scroller),
|
||||||
|
|
||||||
/* DEVICE AUDIO / SOUND / PLAYLIST CONTROL */
|
/* DEVICE AUDIO / SOUND / PLAYLIST CONTROL */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue