Upload BIOS Clut (wrong plaette yet)

This commit is contained in:
2023-12-20 16:24:56 -05:00
parent 4bf87bc85f
commit 47fb903103
4 changed files with 66 additions and 40 deletions

View File

@@ -48,7 +48,7 @@ namespace FontWriter {
return {text, color};
}
return {text + 7, GPU::Color24(char_to_color(text[1]), char_to_color(text[3]), char_to_color(text[5]))};
return {text + 7, GPU::Color24::from_rgb(char_to_color(text[1]), char_to_color(text[3]), char_to_color(text[5]))};
};
const auto* cur_text_end = &Pool::buffer[GPU::Display::current_id].text_buffer[Pool::Buffer::BufferSize];
const auto org_x = pos.x;