[bochs] Do /something/ with that...

This commit is contained in:
Kevin Lange 2011-03-27 19:41:31 -05:00
parent 9a46092e4c
commit 04817c0423

View File

@ -114,6 +114,7 @@ bochs_draw_logo(char * filename) {
size_t i = bufferi[2];
for (y = 0; y < height; ++y) {
for (x = 0; x < width; ++x) {
if (i > bytes_read) return;
/* Extract the color */
uint32_t color = bufferb[i + 3 * x] +
bufferb[i+1 + 3 * x] * 0x100 +