diff --git a/src/system/boot/platform/bios_ia32/video.cpp b/src/system/boot/platform/bios_ia32/video.cpp index df59a8ed48..6f871a6732 100644 --- a/src/system/boot/platform/bios_ia32/video.cpp +++ b/src/system/boot/platform/bios_ia32/video.cpp @@ -556,7 +556,7 @@ blit32(const uint8 *data, uint16 width, uint16 height, uint16 left, uint16 top) const uint8* src = data; uint32* dst = start; for (int32 x = 0; x < width; x++) { - dst[0] = (src[0] << 16) | (src[1] << 8) | (src[2]); + dst[0] = (src[0] << 24) | (src[1] << 16) | (src[2] << 8); dst++; src += 3; } diff --git a/src/system/kernel/splash.cpp b/src/system/kernel/splash.cpp index ee3ca761aa..5236d845af 100644 --- a/src/system/kernel/splash.cpp +++ b/src/system/kernel/splash.cpp @@ -300,7 +300,7 @@ boot_splash_fb_blit32_cropped(const uint8 *data, uint16 imageLeft, const uint8* src = data; uint32* dst = start; for (int32 x = imageLeft; x < imageRight; x++) { - dst[0] = (src[0] << 16) | (src[1] << 8) | (src[2]); + dst[0] = (src[0] << 24) | (src[1] << 16) | (src[2] << 8); dst++; src += 3; }