mirror of
https://github.com/ivanizag/izapple2.git
synced 2025-01-18 03:29:52 +00:00
Fix text mix
This commit is contained in:
parent
65f013e9b3
commit
caa312c12a
@ -92,9 +92,9 @@ func getCurrentVideoMode(a *Apple2) uint16 {
|
|||||||
if isMixMode {
|
if isMixMode {
|
||||||
if is80Columns {
|
if is80Columns {
|
||||||
mode |= videoMixText80
|
mode |= videoMixText80
|
||||||
} else if isStore80Active {
|
} else /* if isStore80Active {
|
||||||
mode |= videoMixText40RGB
|
mode |= videoMixText40RGB
|
||||||
} else {
|
} else */{
|
||||||
mode |= videoMixText40
|
mode |= videoMixText40
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -171,7 +171,7 @@ func snapshotByMode(a *Apple2, videoMode uint16) *image.RGBA {
|
|||||||
applyNTSCFilter = false
|
applyNTSCFilter = false
|
||||||
}
|
}
|
||||||
if applyNTSCFilter {
|
if applyNTSCFilter {
|
||||||
snap = filterNTSCColor(snap, ntscMask)
|
bottom = filterNTSCColor(bottom, ntscMask)
|
||||||
}
|
}
|
||||||
snap = mixSnapshots(snap, bottom)
|
snap = mixSnapshots(snap, bottom)
|
||||||
}
|
}
|
||||||
|
@ -39,7 +39,7 @@ func getColorPatterns(light color.Color) [16][16]color.Color {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func snapshotLoResModeMono(a *Apple2, isSecondPage bool, light color.Color) *image.RGBA {
|
func snapshotLoResModeMono(a *Apple2, isSecondPage bool, light color.Color) *image.RGBA {
|
||||||
data := getTextFromMemory(a.mmu.physicalMainRAM, isSecondPage)
|
data := getTextFromMemory(a.mmu.getVideoRAM(false), isSecondPage)
|
||||||
return renderGrMode(data, false /*isMeres*/, light)
|
return renderGrMode(data, false /*isMeres*/, light)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user