[Scummvm-git-logs] scummvm master -> b9a95405a277d5c8ea207409961ce9eeb6364ba8
OMGPizzaGuy
noreply at scummvm.org
Tue Aug 12 03:20:17 UTC 2025
This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
75d8a24e34 ULTIMA8: Use PALETTE_6BIT_TO_8BIT macro
b9a95405a2 ULTIMA8: Fix 24bbp png splash screen blit
Commit: 75d8a24e34ab1f77be2c6f9c1a27e1abd1da15bf
https://github.com/scummvm/scummvm/commit/75d8a24e34ab1f77be2c6f9c1a27e1abd1da15bf
Author: Matthew Jimenez (matthew.jimenez at outlook.com)
Date: 2025-08-11T21:57:31-05:00
Commit Message:
ULTIMA8: Use PALETTE_6BIT_TO_8BIT macro
Changed paths:
engines/ultima/ultima8/gfx/palette.cpp
diff --git a/engines/ultima/ultima8/gfx/palette.cpp b/engines/ultima/ultima8/gfx/palette.cpp
index d32f93e8ce9..eba4d4dea6c 100644
--- a/engines/ultima/ultima8/gfx/palette.cpp
+++ b/engines/ultima/ultima8/gfx/palette.cpp
@@ -39,7 +39,7 @@ void Palette::load(Common::ReadStream &rs) {
// convert from 0-63 to 0-255 _palette
for (i = 0; i < 256; i++) {
- set(i, (raw[i * 3] * 255) / 63, (raw[i * 3 + 1] * 255) / 63, (raw[i * 3 + 2] * 255) / 63);
+ set(i, PALETTE_6BIT_TO_8BIT(raw[i * 3]), PALETTE_6BIT_TO_8BIT(raw[i * 3 + 1]), PALETTE_6BIT_TO_8BIT(raw[i * 3 + 2]));
}
for (i = 0; i < 256; i++)
Commit: b9a95405a277d5c8ea207409961ce9eeb6364ba8
https://github.com/scummvm/scummvm/commit/b9a95405a277d5c8ea207409961ce9eeb6364ba8
Author: Matthew Jimenez (matthew.jimenez at outlook.com)
Date: 2025-08-11T22:19:52-05:00
Commit Message:
ULTIMA8: Fix 24bbp png splash screen blit
Changed paths:
engines/ultima/ultima8/ultima8.cpp
diff --git a/engines/ultima/ultima8/ultima8.cpp b/engines/ultima/ultima8/ultima8.cpp
index 308d0a1acf6..d91d3bddf98 100644
--- a/engines/ultima/ultima8/ultima8.cpp
+++ b/engines/ultima/ultima8/ultima8.cpp
@@ -1893,7 +1893,7 @@ void Ultima8Engine::showSplashScreen() {
dest.moveTo((scr->w - dest.width()) / 2, (scr->h - dest.height()) / 2);
}
- scr->transBlitFrom(*srcSurface, Common::Rect(0, 0, srcSurface->w, srcSurface->h), dest);
+ scr->blitFrom(*srcSurface, Common::Rect(0, 0, srcSurface->w, srcSurface->h), dest);
scr->update();
// Handle a single event to get the splash screen shown
Common::Event event;
More information about the Scummvm-git-logs
mailing list