소스 검색

atari: use gemdos malloc/free as underlying functions for the heap

git-svn-id: trunk@34616 -
Károly Balogh 9 년 전
부모
커밋
5cec4b565b
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      rtl/atari/sysheap.inc

+ 3 - 1
rtl/atari/sysheap.inc

@@ -17,13 +17,15 @@
       OS Memory allocation / deallocation
  ****************************************************************************}
 
+
 function SysOSAlloc(size: ptruint): pointer;
 begin
-  Result:=nil;
+  Result:=gemdos_malloc(size);
 end;
 
 {$define HAS_SYSOSFREE}
 
 procedure SysOSFree(p: pointer; size: ptruint);
 begin
+  gemdos_free(p);
 end;