Video 7 Color Text Fixes

Removed color 80 column (for now)
This commit is contained in:
David Kuder 2023-05-02 16:23:41 -04:00
parent 9c5804c33d
commit dd3a58f51c

View File

@ -52,16 +52,10 @@ static inline uint_fast8_t char_text_bits(uint_fast8_t ch, uint_fast8_t glyph_li
void DELAYED_COPY_CODE(render_text)() {
uint line;
if((internal_flags & IFLAGS_VIDEO7) && !(soft_switches & SOFTSW_DGR)) {
if(soft_switches & SOFTSW_80COL) {
for(line=0; line < 24; line++) {
render_color_text80_line(line);
}
} else {
if((internal_flags & IFLAGS_VIDEO7) && ((soft_switches & (SOFTSW_80STORE | SOFTSW_80COL | SOFTSW_DGR)) == SOFTSW_80STORE)) {
for(line=0; line < 24; line++) {
render_color_text40_line(line);
}
}
} else {
if(soft_switches & SOFTSW_80COL) {
for(line=0; line < 24; line++) {
@ -78,16 +72,10 @@ void DELAYED_COPY_CODE(render_text)() {
void DELAYED_COPY_CODE(render_mixed_text)() {
uint line;
if((internal_flags & IFLAGS_VIDEO7) && !(soft_switches & SOFTSW_DGR)) {
if(soft_switches & SOFTSW_80COL) {
for(line=20; line < 24; line++) {
render_color_text80_line(line);
}
} else {
if((internal_flags & IFLAGS_VIDEO7) && ((soft_switches & (SOFTSW_80STORE | SOFTSW_80COL | SOFTSW_DGR)) == SOFTSW_80STORE)) {
for(line=20; line < 24; line++) {
render_color_text40_line(line);
}
}
} else {
if(soft_switches & SOFTSW_80COL) {
for(line=20; line < 24; line++) {