mirror of
https://github.com/markpmlim/GraphicConverterIIGS.git
synced 2024-11-22 01:32:06 +00:00
Corrected file type
This commit is contained in:
parent
764d952166
commit
c194d00913
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user