[Scummvm-git-logs] scummvm master -> 2a309a398b8f7b7b676a2d1056f705205db2a5f2
whoozle
noreply at scummvm.org
Sat Mar 7 22:32:19 UTC 2026
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
2a309a398b PHOENIXVR: fix palette artefacts
Commit: 2a309a398b8f7b7b676a2d1056f705205db2a5f2
https://github.com/scummvm/scummvm/commit/2a309a398b8f7b7b676a2d1056f705205db2a5f2
Author: Vladimir Menshakov (vladimir.menshakov at gmail.com)
Date: 2026-03-07T22:31:57Z
Commit Message:
PHOENIXVR: fix palette artefacts
Changed paths:
engines/phoenixvr/phoenixvr.cpp
diff --git a/engines/phoenixvr/phoenixvr.cpp b/engines/phoenixvr/phoenixvr.cpp
index 92d52889b7d..a3ff2d76cbe 100644
--- a/engines/phoenixvr/phoenixvr.cpp
+++ b/engines/phoenixvr/phoenixvr.cpp
@@ -369,11 +369,11 @@ void PhoenixVREngine::playMovie(const Common::String &movie) {
break;
}
}
- if (dec->hasDirtyPalette()) {
- palette.reset(new Graphics::Palette(dec->getPalette(), 256));
- }
if (dec->needsUpdate()) {
auto *s = dec->decodeNextFrame();
+ if (dec->hasDirtyPalette()) {
+ palette.reset(new Graphics::Palette(dec->getPalette(), 256));
+ }
if (s) {
if (!s->format.isCLUT8() || palette)
_screen->simpleBlitFrom(*s, Graphics::FLIP_NONE, false, 0xff, palette.get());
More information about the Scummvm-git-logs
mailing list