When JIT is enabled in the XML, set compatible settings
Disable settings that should be disabled, for JIT to work. Basically replicating what the GUI does.
This commit is contained in:
parent
ed8d950245
commit
9fe76e18ba
2 changed files with 8 additions and 1 deletions
|
@ -1026,6 +1026,14 @@ void whdload_auto_prefs(struct uae_prefs* prefs, char* filepath)
|
|||
{
|
||||
_stprintf(txt2, "cachesize=16384");
|
||||
cfgfile_parse_line(prefs, txt2, 0);
|
||||
_stprintf(txt2, "cpu_compatible=false");
|
||||
cfgfile_parse_line(prefs, txt2, 0);
|
||||
_stprintf(txt2, "cpu_cycle_exact=false");
|
||||
cfgfile_parse_line(prefs, txt2, 0);
|
||||
_stprintf(txt2, "cpu_memory_cycle_exact=false");
|
||||
cfgfile_parse_line(prefs, txt2, 0);
|
||||
_stprintf(txt2, "address_space_24=false");
|
||||
cfgfile_parse_line(prefs, txt2, 0);
|
||||
}
|
||||
|
||||
// NTSC
|
||||
|
|
|
@ -184,7 +184,6 @@ public:
|
|||
changed_prefs.cpu_cycle_exact = false;
|
||||
changed_prefs.cpu_memory_cycle_exact = false;
|
||||
changed_prefs.address_space_24 = false;
|
||||
changed_prefs.cpu_compatible = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue