This commit is contained in:
jonschz 2025-05-25 07:38:28 +02:00
parent 7306d7a992
commit 38e5b06808

View File

@ -384,7 +384,6 @@ void DecodeSS2(LPBITMAPINFOHEADER p_bitmapHeader, BYTE* p_pixelData, BYTE* p_dat
row += token; row += token;
start_packet: start_packet:
do {
// LINE: LEGO1 0x100bdaef // LINE: LEGO1 0x100bdaef
// LINE: BETA10 0x1013e692 // LINE: BETA10 0x1013e692
token = *(short*) data; token = *(short*) data;
@ -439,7 +438,7 @@ void DecodeSS2(LPBITMAPINFOHEADER p_bitmapHeader, BYTE* p_pixelData, BYTE* p_dat
if (--lines > 0) { if (--lines > 0) {
goto start_packet; goto start_packet;
} }
break; return;
} }
type = -type; type = -type;
@ -456,9 +455,7 @@ void DecodeSS2(LPBITMAPINFOHEADER p_bitmapHeader, BYTE* p_pixelData, BYTE* p_dat
goto start_packet; goto start_packet;
} }
return; return;
// the `while (0)` looks off, but produces the correct `jmp` instructions near the end
} }
} while (0);
} }
// FUNCTION: LEGO1 0x100bdc00 // FUNCTION: LEGO1 0x100bdc00