Match lower, but jumps almost correct

This commit is contained in:
jonschz 2025-05-09 14:24:15 +02:00
parent e66d9ba0d6
commit ab766b325a

View File

@ -410,6 +410,7 @@ void DecodeSS2(LPBITMAPINFOHEADER p_bitmapHeader, BYTE* p_pixelData, BYTE* p_dat
return; return;
// TODO: Something is off about these breaks and jumps -- too many JMP instructions // TODO: Something is off about these breaks and jumps -- too many JMP instructions
} }
}
// } // }
column_loop_2: column_loop_2:
@ -432,7 +433,7 @@ void DecodeSS2(LPBITMAPINFOHEADER p_bitmapHeader, BYTE* p_pixelData, BYTE* p_dat
} }
row--; row--;
if (--lines > 0) { if (--lines > 0) {
continue; goto row_loop;
} }
return; return;
} }
@ -448,11 +449,11 @@ void DecodeSS2(LPBITMAPINFOHEADER p_bitmapHeader, BYTE* p_pixelData, BYTE* p_dat
} }
row--; row--;
if (--lines > 0) { if (--lines > 0) {
continue; goto row_loop;
} }
return; return;
} }
} // }
} }
// FUNCTION: LEGO1 0x100bdc00 // FUNCTION: LEGO1 0x100bdc00