Explorar o código

MorphOS: SDK say it should be a real pointer not a var parameter

git-svn-id: trunk@33235 -
marcus %!s(int64=9) %!d(string=hai) anos
pai
achega
f63f3690fd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/morphunits/src/agraphics.pas

+ 1 - 1
packages/morphunits/src/agraphics.pas

@@ -2388,7 +2388,7 @@ SysCall GfxBase 408;
 procedure FreeSprite(num : LongInt location 'd0');
 SysCall GfxBase 414;
 
-procedure ChangeSprite(vp : pViewPort location 'a0'; sprite : pSimpleSprite location 'a1'; VAR newData : Integer location 'a2');
+procedure ChangeSprite(vp : pViewPort location 'a0'; sprite : pSimpleSprite location 'a1'; newData : PWord location 'a2');
 SysCall GfxBase 420;
 
 procedure MoveSprite(vp : pViewPort location 'a0'; sprite : pSimpleSprite location 'a1'; x : LongInt location 'd0'; y : LongInt location 'd1');