[bochs] More extensibility with the logo reading.
This commit is contained in:
parent
f0d0d8421c
commit
42218847e3
@ -105,7 +105,7 @@ bochs_draw_logo() {
|
||||
uint32_t width = bufferi[4];
|
||||
uint32_t height = bufferi[5];
|
||||
/* Skip right to the important part */
|
||||
for (i = 54; i < bytes_read; i += 3) {
|
||||
for (i = bufferi[2]; i < bytes_read; i += 3) {
|
||||
/* Extract the color */
|
||||
uint32_t color = bufferb[i] +
|
||||
bufferb[i+1] * 0x100 +
|
||||
|
Loading…
Reference in New Issue
Block a user