[uae] Re: e-uae 1.6.10 wip

  • From: Fabien Meghazi <agr@xxxxxxxxxxxx>
  • To: uae@xxxxxxxxxxxxx
  • Date: Fri, 16 Oct 2009 10:20:07 +0200

> Thanks Mustafa !
>
> With your uaecvs4-2.tgz release, I can use opengl, the sound is
> working and I don't have the segfault anymore when using aga chipset.

Mustafa,

Here's a little patch in order to correct cpu_model parameter badly
written in config file.

Note: the gui doesn't seem to use correctly this parameter when loaded
from config file.

-- 
Fabien Meghazi

Website: http://www.amigrave.com
Email: agr@xxxxxxxxxxxx
IM: amigrave@xxxxxxxxx
--- cfgfile.c.orig      2009-10-16 10:02:08.000000000 +0200
+++ cfgfile.c   2009-10-16 10:02:35.000000000 +0200
@@ -533,7 +533,7 @@ void save_options (FILE *f, const struct
        cfgfile_write (f, "finegrain_cpu_speed=%d\n", p->m68k_speed);
     else
        cfgfile_write (f, "cpu_speed=%s\n", p->m68k_speed == -1 ? "max" : 
"real");
-    cfgfile_write (f, "cpu_model", "%d", p->cpu_model);
+    cfgfile_write (f, "cpu_model=%d\n", p->cpu_model);
     cfgfile_write (f, "cpu_compatible=%s\n", p->cpu_compatible ? "true" : 
"false");
     cfgfile_write (f, "cpu_cycle_exact=%s\n", p->cpu_cycle_exact ? "true" : 
"false");
     cfgfile_write (f, "blitter_cycle_exact=%s\n", p->blitter_cycle_exact ? 
"true" : "false");

Other related posts: