From 421c088078f7082ba2e6a176d2a19c30263c9c94 Mon Sep 17 00:00:00 2001 From: Joerg Amann <{ID}+{username}@users.noreply.github.com> Date: Tue, 1 Mar 2022 09:21:52 +0100 Subject: [PATCH] fix scaling issue with LRM scenes --- LibDmd/Converter/Colorize/Animation.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LibDmd/Converter/Colorize/Animation.cs b/LibDmd/Converter/Colorize/Animation.cs index 94d44036b..c6a614eb1 100644 --- a/LibDmd/Converter/Colorize/Animation.cs +++ b/LibDmd/Converter/Colorize/Animation.cs @@ -186,7 +186,7 @@ private byte[][] RenderLCM(byte[][] vpmFrame) } if (SwitchMode == SwitchMode.MaskedReplace) { - if (vpmFrame[0].Length != LCMBufferPlanes[0].Length * 4) + if (LCMBufferPlanes[0].Length == vpmFrame[0].Length * 4) { if (ScalerMode == ScalerMode.Doubler) {