Fixed JIT cache size being hardcoded in some places
This commit is contained in:
parent
026a1fde11
commit
aaa1a506e7
2 changed files with 2 additions and 2 deletions
|
@ -297,7 +297,7 @@ void fixup_prefs (struct uae_prefs *p, bool userconfig)
|
|||
p->produce_sound = 0;
|
||||
err = 1;
|
||||
}
|
||||
if (p->cachesize < 0 || p->cachesize > 16384) {
|
||||
if (p->cachesize < 0 || p->cachesize > MAX_JIT_CACHE) {
|
||||
error_log(_T("Bad value for cachesize parameter: value must be within 0..16384."));
|
||||
p->cachesize = 0;
|
||||
err = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue