Solve segfault when saving configuration

This commit is contained in:
Chips 2016-04-26 18:07:25 +00:00
parent 42c18baad1
commit f4090093b6

View file

@ -396,7 +396,7 @@ void cfgfile_save_options (struct zfile *f, struct uae_prefs *p, int type)
cfgfile_write_str (f, _T("gfx_resolution"), lorestype1[p->gfx_resolution]);
#ifdef RASPBERRY
cfgfile_dwrite (f, "gfx_correct_aspect=%d\n", p->gfx_correct_aspect);
cfgfile_write (f, _T("gfx_correct_aspect"), _T("%d"), p->gfx_correct_aspect);
#endif
cfgfile_write_bool (f, _T("immediate_blits"), p->immediate_blits);