瀏覽代碼

m68k-amiga: create the heap memory pool with MEMF_ANY, rather than MEMF_FAST. this will finally allow FPC compiled executables to start on chipmem-only machines.

git-svn-id: trunk@44624 -
Károly Balogh 5 年之前
父節點
當前提交
b599574a16
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      rtl/amiga/system.pp

+ 1 - 1
rtl/amiga/system.pp

@@ -283,7 +283,7 @@ begin
 {$ENDIF}
 
   { Creating the memory pool for growing heap }
-  ASYS_heapPool:=CreatePool(MEMF_FAST,growheapsize2,growheapsize1);
+  ASYS_heapPool:=CreatePool(MEMF_ANY,growheapsize2,growheapsize1);
   if ASYS_heapPool=nil then Halt(1);
   ASYS_heapSemaphore:=AllocPooled(ASYS_heapPool,sizeof(TSignalSemaphore));
   if ASYS_heapSemaphore = nil then Halt(1);