File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7256,7 +7256,7 @@ procedure CompileActualParameters(var i: integer; IdentIndex: integer; ProcVarIn
7256
7256
svar := GetLocalName(IdentIndex);
7257
7257
7258
7258
7259
- if Ident[IdentIndex].isExternal and RCLIBRARY and (Ident[IdentIndex].isStdCall = false) then begin
7259
+ if RCLIBRARY and Ident[IdentIndex].isExternal and (Ident[IdentIndex].Libraries > 0 ) and (Ident[IdentIndex].isStdCall = false) then begin
7260
7260
7261
7261
asm65(' #lib:' + svar);
7262
7262
@@ -7415,7 +7415,7 @@ procedure CompileActualParameters(var i: integer; IdentIndex: integer; ProcVarIn
7415
7415
asm65(#9 ' jsr :TMP' );
7416
7416
7417
7417
end else
7418
- if Ident[IdentIndex].isExternal and RCLIBRARY and Ident[IdentIndex].isStdCall then begin
7418
+ if RCLIBRARY and Ident[IdentIndex].isExternal and (Ident[IdentIndex].Libraries > 0 ) and Ident[IdentIndex].isStdCall then begin
7419
7419
7420
7420
asm65(#9 ' ldy <' + svar + ' .@INITLIBRARY' );
7421
7421
asm65(#9 ' sty @xmsProc.ini' );
@@ -7463,7 +7463,7 @@ procedure CompileActualParameters(var i: integer; IdentIndex: integer; ProcVarIn
7463
7463
end ;
7464
7464
7465
7465
7466
- if Ident[IdentIndex].isExternal and RCLIBRARY and (Ident[IdentIndex].isStdCall = false) then begin
7466
+ if RCLIBRARY and Ident[IdentIndex].isExternal and (Ident[IdentIndex].Libraries > 0 ) and (Ident[IdentIndex].isStdCall = false) then begin
7467
7467
7468
7468
asm65(#9 ' pla' );
7469
7469
asm65(#9 ' sta portb' );
You can’t perform that action at this time.
0 commit comments