Browse Source

* loop forever in fpc_do_exit in the ZX Spectrum RTL

git-svn-id: branches/z80@44869 -
nickysn 5 years ago
parent
commit
04a4ff3f3f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      rtl/zxspectrum/system.pp

+ 2 - 0
rtl/zxspectrum/system.pp

@@ -71,6 +71,8 @@ end;
 
 
 Procedure fpc_do_exit;[Public,Alias:'FPC_DO_EXIT']; compilerproc;
 Procedure fpc_do_exit;[Public,Alias:'FPC_DO_EXIT']; compilerproc;
 begin
 begin
+  repeat
+  until false;
 end;
 end;
 
 
 procedure PrintChar(Ch: Char);
 procedure PrintChar(Ch: Char);