Core Native GBA 0.0.17
create your own game-engine with just lua for nitendo game boy advance console.
Loading...
Searching...
No Matches
runtime.c File Reference
#include "zeebo.h"
Include dependency graph for runtime.c:

Go to the source code of this file.

Macros

#define FPS_MODE   2
 fps configure
 
#define FPS_DELTA   33
 

Functions

void runtime (lua_State *L)
 

Macro Definition Documentation

◆ FPS_DELTA

#define FPS_DELTA   33

Definition at line 21 of file runtime.c.

◆ FPS_MODE

#define FPS_MODE   2

fps configure

lower FPS in heavier games ensures frame stability.

use flag -DFPS_MODE=2 in cmake to configure frameskip.

  • 0 loop 60 fps / draw 60 fps
  • 1 loop 60 fps / draw 30 fps
  • 2 loop 30 fps / draw 30 fps
  • 3 loop 20 fps / draw 20 fps
  • 4 loop 20 fps / draw 10 fps

Definition at line 14 of file runtime.c.

Function Documentation

◆ runtime()

void runtime ( lua_State * L)

Definition at line 29 of file runtime.c.

Here is the call graph for this function: