浏览代码

* 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 年之前
父节点
当前提交
4fe5e53fcc
共有 1 个文件被更改,包括 1 次插入13 次删除
  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;