disable-jit fix

parent 89d2d049
......@@ -505,6 +505,9 @@ void cfgfile_save_options (FILE *f, const struct uae_prefs *p, int type)
cfgfile_write (f, "diskimage%d=%s\n", i, p->dfxlist[i]);
}
if (p->cdimagefile[0])
cfgfile_write_str (f, "cdimage0", p->cdimagefile);
cfgfile_write (f, "nr_floppies=%d\n", p->nr_floppies);
cfgfile_write (f, "floppy_speed=%d\n", p->floppy_speed);
#ifdef DRIVESOUND
......@@ -1705,17 +1708,17 @@ static int cfgfile_parse_hardware (struct uae_prefs *p, char *option, char *valu
#ifdef JIT
if (cfgfile_intval (option, value, "cachesize", &p->cachesize, 1)
# ifdef NATMEM_OFFSET
#ifdef NATMEM_OFFSET
|| cfgfile_strval (option, value, "comp_trustbyte", &p->comptrustbyte, compmode, 0)
|| cfgfile_strval (option, value, "comp_trustword", &p->comptrustword, compmode, 0)
|| cfgfile_strval (option, value, "comp_trustlong", &p->comptrustlong, compmode, 0)
|| cfgfile_strval (option, value, "comp_trustnaddr", &p->comptrustnaddr, compmode, 0)
# else
#else
|| cfgfile_strval (option, value, "comp_trustbyte", &p->comptrustbyte, compmode, 1)
|| cfgfile_strval (option, value, "comp_trustword", &p->comptrustword, compmode, 1)
|| cfgfile_strval (option, value, "comp_trustlong", &p->comptrustlong, compmode, 1)
|| cfgfile_strval (option, value, "comp_trustnaddr", &p->comptrustnaddr, compmode, 1)
# endif
#endif
|| cfgfile_strval (option, value, "comp_flushmode", &p->comp_hardflush, flushmode, 0))
return 1;
#endif
......@@ -1725,9 +1728,6 @@ static int cfgfile_parse_hardware (struct uae_prefs *p, char *option, char *valu
|| cfgfile_strval (option, value, "ciaatod", &p->cs_ciaatod, ciaatodmode, 0)
|| cfgfile_strval (option, value, "ide", &p->cs_ide, idemode, 0)
|| cfgfile_strval (option, value, "scsi", &p->scsi, scsimode, 0)
|| cfgfile_strval (option, value, "comp_trustword", &p->comptrustword, compmode, 0)
|| cfgfile_strval (option, value, "comp_trustlong", &p->comptrustlong, compmode, 0)
|| cfgfile_strval (option, value, "comp_trustnaddr", &p->comptrustnaddr, compmode, 0)
|| cfgfile_strval (option, value, "collision_level", &p->collision_level, collmode, 0)
|| cfgfile_strval (option, value, "parallel_matrix_emulation", &p->parallel_matrix_emulation, epsonprinter, 0))
return 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment