From ab766b325a036fcb26c16e7808932e341f0380f7 Mon Sep 17 00:00:00 2001 From: jonschz Date: Fri, 9 May 2025 14:24:15 +0200 Subject: [PATCH] Match lower, but jumps almost correct --- LEGO1/omni/src/video/flic.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/LEGO1/omni/src/video/flic.cpp b/LEGO1/omni/src/video/flic.cpp index 7d8ee248..64bd7ee6 100644 --- a/LEGO1/omni/src/video/flic.cpp +++ b/LEGO1/omni/src/video/flic.cpp @@ -410,6 +410,7 @@ void DecodeSS2(LPBITMAPINFOHEADER p_bitmapHeader, BYTE* p_pixelData, BYTE* p_dat return; // TODO: Something is off about these breaks and jumps -- too many JMP instructions } + } // } column_loop_2: @@ -432,7 +433,7 @@ void DecodeSS2(LPBITMAPINFOHEADER p_bitmapHeader, BYTE* p_pixelData, BYTE* p_dat } row--; if (--lines > 0) { - continue; + goto row_loop; } return; } @@ -448,11 +449,11 @@ void DecodeSS2(LPBITMAPINFOHEADER p_bitmapHeader, BYTE* p_pixelData, BYTE* p_dat } row--; if (--lines > 0) { - continue; + goto row_loop; } return; } - } + // } } // FUNCTION: LEGO1 0x100bdc00