Skip to content

Commit 0e67ee1

Browse files
authored
patterns/ico: Disable BMP processing until issues in the pattern language have been resolved
1 parent 69077b9 commit 0e67ee1

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

patterns/ico.hexpat

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,14 @@ struct ImageData {
4747
be u64 png_magic [[hidden, no_unique_address]];
4848
if (png_magic == 0x89504e470d0a1a0a) {
4949
PNG png_image @ $ [[inline, highlight_hidden]];
50-
} else {
50+
}
51+
52+
// TODO: Sections currently can't be properly accessed accross imported types
53+
// TODO: Uncomment this again once that's been fixed
54+
/*else {
5155
BMPData data [[hidden]];
5256
BMP bmp_image @ addressof(this) - 14 [[inline, highlight_hidden]];
53-
}
57+
}*/
5458
};
5559

5660
struct ICONDIRENTRY {

0 commit comments

Comments
 (0)