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

dreammaster noreply at scummvm.org
Fri Aug 14 11:52:20 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:
b2b545f64e MADS: Proper screen updates for palette changes during fading


Commit: b2b545f64e24123942c6904a07498d86a4aff4ed
    https://github.com/scummvm/scummvm/commit/b2b545f64e24123942c6904a07498d86a4aff4ed
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2026-08-14T21:51:56+10:00

Commit Message:
MADS: Proper screen updates for palette changes during fading

Changed paths:
    engines/mads/core/magic.cpp


diff --git a/engines/mads/core/magic.cpp b/engines/mads/core/magic.cpp
index 2ac5602de2a..0cdae797795 100644
--- a/engines/mads/core/magic.cpp
+++ b/engines/mads/core/magic.cpp
@@ -276,6 +276,7 @@ void magic_fade_to_grey(Palette &pal, byte *map_pointer,
 			g_system->updateScreen();
 
 		do {
+			g_engine->getScreen()->update();
 			now_timing = timer_read_600();
 		} while (now_timing < (base_timing + tick_delay));
 		base_timing = now_timing;
@@ -376,6 +377,7 @@ void magic_fade_from_grey(RGBcolor *pal, Palette target,
 			g_system->updateScreen();
 
 		do {
+			g_engine->getScreen()->update();
 			now_timing = timer_read_600();
 		} while (now_timing < (base_timing + tick_delay));
 		base_timing = now_timing;




More information about the Scummvm-git-logs mailing list