mirror of
https://github.com/ivanizag/izapple2.git
synced 2024-10-31 20:09:02 +00:00
Fix the SHR pallette
This commit is contained in:
parent
4f466826b9
commit
c91e9d43f4
@ -34,9 +34,9 @@ func snapshotSuperHiResMode(a *Apple2) *image.RGBA {
|
|||||||
b1 := palleteMem[iMem]
|
b1 := palleteMem[iMem]
|
||||||
iMem++
|
iMem++
|
||||||
|
|
||||||
red := (b0 & 0x0f) << 4
|
red := (b1 & 0x0f) << 4
|
||||||
green := b1 & 0xf0
|
green := b0 & 0xf0
|
||||||
blue := (b1 & 0x0f) << 4
|
blue := (b0 & 0x0f) << 4
|
||||||
|
|
||||||
colors[i] = color.RGBA{red, green, blue, 255}
|
colors[i] = color.RGBA{red, green, blue, 255}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user