jit: add compile option

This commit is contained in:
RSDuck
2019-07-14 19:24:00 +02:00
parent 360317be8c
commit 411fb57c07
13 changed files with 149 additions and 53 deletions

View File

@ -34,8 +34,10 @@ int Threaded3D;
int GL_ScaleFactor;
int GL_Antialias;
#ifdef JIT_ENABLED
bool JIT_Enable = false;
int JIT_MaxBlockSize = 12;
#endif
ConfigEntry ConfigFile[] =
{
@ -45,8 +47,10 @@ ConfigEntry ConfigFile[] =
{"GL_ScaleFactor", 0, &GL_ScaleFactor, 1, NULL, 0},
{"GL_Antialias", 0, &GL_Antialias, 0, NULL, 0},
#ifdef JIT_ENABLED
{"JIT_Enable", 0, &JIT_Enable, 0, NULL, 0},
{"JIT_MaxBlockSize", 0, &JIT_MaxBlockSize, 10, NULL, 0},
#endif
{"", -1, NULL, 0, NULL, 0}
};