Corrected file type

This commit is contained in:
markpmlim 2018-09-18 15:02:46 +08:00
parent 764d952166
commit c194d00913
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ public class Converter {
for row in 0..<height {
let whichColorTable = Int(scbs[row] & 0x0f)
let baseIndex = row * width * bytesPerPixel // macOS bitmap
// Each Apple IIGS scanline is 160 bytes for the $C0/$0000 graphic format.
// Each Apple IIGS scanline is 160 bytes for the $C1/$0000 graphic format.
for col in 0..<160 {
let index = row * 160 + col // IIgs bitmap
let pixels = bitMap[index] // 2 IIGS "pixels"