Update video_hstx.c

shift color bit
This commit is contained in:
Liz 2025-08-07 16:12:24 -04:00 committed by GitHub
parent c74b1472d1
commit 5cdd3aba4e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -163,7 +163,7 @@ void video_init(uint32_t *framebuffer) {
size_t pixels_per_word = 32;
size_t words_per_line = REAL_DISP_WIDTH / pixels_per_word;
uint8_t rot = 24; // 24 + color_depth;
uint8_t rot = 25; // 24 + color_depth;
size_t shift_amount = 31; // color_depth % 32;
size_t command_word = 0;