Jelajahi Sumber

* rtl-console: on Amiga, remove the initial testing of the buffer for changes. it just slowed things down with frequent partial updates, especially on low-end processors with limited or no data cache

Karoly Balogh 3 tahun lalu
induk
melakukan
4fe5e53fcc
1 mengubah file dengan 1 tambahan dan 13 penghapusan
  1. 1 13
      packages/rtl-console/src/amicommon/video.pp

+ 1 - 13
packages/rtl-console/src/amicommon/video.pp

@@ -593,19 +593,7 @@ begin
     end;
   end;
 
-  if Force then
-  begin
-    SmallForce:=true;
-  end else
-  begin
-    Counter:=0;
-    if not ForceCursorUpdate then
-      while not smallforce and (Counter < (VideoBufSize div 4) - 1) do
-      begin
-        SmallForce := (PDWord(VideoBuf)[Counter] <> PDWord(OldVideoBuf)[Counter]);
-        inc(Counter);
-      end;
-  end;
+  SmallForce:=Force or not ForceCursorUpdate;
 
   LocalRP := VideoWindow^.RPort;