Enable JIT by default

This commit is contained in:
Chips-fr 2015-09-06 17:39:20 +02:00
parent 19defacc2b
commit a551f1e3a9
3 changed files with 4 additions and 2 deletions

View file

@ -1841,7 +1841,7 @@ void default_prefs (struct uae_prefs *p, int type)
p->sound_filter_type = 0;
p->sound_auto = 1;
p->cachesize = 0;
p->cachesize = DEFAULT_JIT_CACHE_SIZE;
for (i = 0;i < 10; i++)
p->optcount[i] = -1;

View file

@ -21,6 +21,8 @@ struct strlist {
int unknown;
};
#define DEFAULT_JIT_CACHE_SIZE 8192
#define PREFS_GFX_WIDTH 320
#define PREFS_GFX_HEIGHT 240

View file

@ -153,7 +153,7 @@ class JITActionListener : public gcn::ActionListener
if (chkJIT->isSelected())
{
changed_prefs.cpu_compatible = 0;
changed_prefs.cachesize = 8192;
changed_prefs.cachesize = DEFAULT_JIT_CACHE_SIZE;
}
else
{