[Scummvm-git-logs] scummvm master -> f2bf41edc6899cf57d8e92ad50cfeffaa41a101e

dreammaster noreply at scummvm.org
Wed Sep 10 06:57:13 UTC 2025


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:
f2bf41edc6 BAGEL: METAGAME: Fix initial palette corruption in fairy tale movie


Commit: f2bf41edc6899cf57d8e92ad50cfeffaa41a101e
    https://github.com/scummvm/scummvm/commit/f2bf41edc6899cf57d8e92ad50cfeffaa41a101e
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2025-09-09T23:57:05-07:00

Commit Message:
BAGEL: METAGAME: Fix initial palette corruption in fairy tale movie

Changed paths:
    engines/bagel/hodjnpodj/metagame/frame/movytmpl.cpp


diff --git a/engines/bagel/hodjnpodj/metagame/frame/movytmpl.cpp b/engines/bagel/hodjnpodj/metagame/frame/movytmpl.cpp
index 7b600c80343..998598fd771 100644
--- a/engines/bagel/hodjnpodj/metagame/frame/movytmpl.cpp
+++ b/engines/bagel/hodjnpodj/metagame/frame/movytmpl.cpp
@@ -72,6 +72,13 @@ bool CMovieWindow::PlayMovie() {
 	if (!decoder.loadStream(file.detach()))
 		return false;
 
+	// Reset palette to black initially
+	Graphics::Palette blackPal(Graphics::PALETTE_COUNT);
+	for (int i = 0; i < Graphics::PALETTE_COUNT; ++i)
+		blackPal.set(i, 0, 0, 0);
+	app->setPalette(blackPal);
+
+	// Start playback
 	decoder.start();
 
 	while (!decoder.endOfVideo()) {




More information about the Scummvm-git-logs mailing list