Fixed 4 line Text screen position in Mixed mode

This commit is contained in:
tudnai 2020-05-07 13:20:46 -07:00
parent 572977f5f8
commit afc8c6d8d1

View File

@ -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"
}