Core Native GBA
0.0.17
create your own game-engine with just lua for nitendo game boy advance console.
Loading...
Searching...
No Matches
loop.c
Go to the documentation of this file.
1
#include "
zeebo.h
"
2
3
void
loop_callback_update
(lua_State* L,
int
callback, uint8_t dt)
4
{
5
lua_rawgeti(L, LUA_REGISTRYINDEX, callback);
6
lua_pushnumber(L, dt);
7
lua_pcall(L, 1, 0, 0);
8
}
loop_callback_update
void loop_callback_update(lua_State *L, int callback, uint8_t dt)
Definition
loop.c:3
zeebo.h
src
loop.c
Generated by
1.12.0