[uae] Re: Crash with mor than 32MB Z3 Ram.

  • From: Richard Drummond <evilrich@xxxxxxxxxxxxxx>
  • To: uae@xxxxxxxxxxxxx
  • Date: Thu, 9 Sep 2004 21:31:25 -0500

Hi kadi

On Thursday 09 September 2004 07:25 am, Karl Dietrich Bamler wrote:
> UAE crashes when i set the Z3 Memory to more than 32MB of RAM. With less
> than 32MB it works, with more it crashes.

Try the attached patch. This is a simple - if not elegant fix - for the 
problem.

Cheers,
Rich
--- src/newcpu.c_orig   2004-09-09 21:26:21.000000000 -0500
+++ src/newcpu.c        2004-09-09 21:29:06.000000000 -0500
@@ -355,6 +355,10 @@
     write_log ("%d CPU functions\n", nr_cpuop_funcs);
 
     build_cpufunctbl ();
+
+    /* We need to check whether NATMEM settings have changed
+     * before starting the CPU */
+    check_prefs_changed_comp ();
 }
 
 struct regstruct regs, lastint_regs;

Other related posts: