From bf84a92b6cf51168a837f003f2662e7513bfd6ec Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Sun, 7 Sep 2014 11:31:21 +0300 Subject: [PATCH] Always write PPC implementation config entry if PPC is enabled. --- cfgfile.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.47.3