[Scummvm-git-logs] scummvm master -> 48a6f126374983b60450252611e165867674ec43

lephilousophe noreply at scummvm.org
Tue Aug 30 09:15:40 UTC 2022


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
48a6f12637 CRYO: Fix build following HNMDecoder API change


Commit: 48a6f126374983b60450252611e165867674ec43
    https://github.com/scummvm/scummvm/commit/48a6f126374983b60450252611e165867674ec43
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2022-08-30T11:15:10+02:00

Commit Message:
CRYO: Fix build following HNMDecoder API change

Changed paths:
    engines/cryo/eden_graphics.cpp


diff --git a/engines/cryo/eden_graphics.cpp b/engines/cryo/eden_graphics.cpp
index ba5fbc3335f..82889dcec29 100644
--- a/engines/cryo/eden_graphics.cpp
+++ b/engines/cryo/eden_graphics.cpp
@@ -1207,7 +1207,7 @@ void EdenGraphics::showMovie(int16 num, char arg1) {
 		palette[j++] = palette16[i].b >> 8;
 	}
 
-	Video::VideoDecoder *decoder = new Video::HNMDecoder(false, palette);
+	Video::VideoDecoder *decoder = new Video::HNMDecoder(g_system->getScreenFormat(), false, palette);
 	if (!decoder->loadStream(stream)) {
 		warning("Could not load movie %d", num);
 		delete decoder;




More information about the Scummvm-git-logs mailing list