From ae427f992637e943caac2d9482b0cd66a68dbf23 Mon Sep 17 00:00:00 2001 From: tudnai Date: Thu, 7 May 2020 13:20:46 -0700 Subject: [PATCH] Fixed 4 line Text screen position in Mixed mode --- A2Mac/ViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/A2Mac/ViewController.swift b/A2Mac/ViewController.swift index 19402bb..6acb86c 100644 --- a/A2Mac/ViewController.swift +++ b/A2Mac/ViewController.swift @@ -448,7 +448,7 @@ class ViewController: NSViewController { // render an empty space to eiminate displaying text portion of the screen covered by graphics let charDisposition = videoMode.col80 == 0 ? 1 : 2 for y in 0 ..< fromLines { - self.txtArr[ y * (self.textCols * 2 + self.lineEndChars) + self.textCols * charDisposition] = "\n" + self.txtArr[ y * (self.textCols * charDisposition + self.lineEndChars) + self.textCols * charDisposition] = "\n" }