From: Toni Wilen Date: Sun, 7 Sep 2014 08:31:21 +0000 (+0300) Subject: Always write PPC implementation config entry if PPC is enabled. X-Git-Tag: 3000~52 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=bf84a92b6cf51168a837f003f2662e7513bfd6ec;p=francis%2Fwinuae.git Always write PPC implementation config entry if PPC is enabled. --- diff --git a/cfgfile.cpp b/cfgfile.cpp index ea013d2f..214a3991 100644 --- a/cfgfile.cpp +++ b/cfgfile.cpp @@ -1513,7 +1513,8 @@ void cfgfile_save_options (struct zfile *f, struct uae_prefs *p, int type) cfgfile_write_bool (f, _T("cpu_24bit_addressing"), p->address_space_24); /* do not reorder end */ cfgfile_dwrite_bool(f, _T("cpu_reset_pause"), p->reset_delay); - cfgfile_dwrite_str(f, _T("ppc_implementation"), ppc_implementations[p->ppc_implementation]); + if (p->ppc_mode) + cfgfile_write_str(f, _T("ppc_implementation"), ppc_implementations[p->ppc_implementation]); if (p->cpu_cycle_exact) { if (p->cpu_frequency)