Fixed 4 line Text screen position in Mixed mode

This commit is contained in:
tudnai 2020-05-07 13:20:46 -07:00
parent 6cd257850e
commit ae427f9926
1 changed files with 1 additions and 1 deletions

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