Selaa lähdekoodia

human68k: fix zero termination of the last argument

Karoly Balogh 1 vuosi sitten
vanhempi
commit
d7812f6c05
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      rtl/human68k/system.pp

+ 1 - 1
rtl/human68k/system.pp

@@ -158,7 +158,7 @@ begin
   if argl < 1 then
     argl:=1;
 
-  args:=getmem(argl);
+  args:=getmem(argl+1);
   fillchar(args^,argl,#0);
   argsp:=args;