mirror of
https://github.com/WerWolv/ImHex-Patterns.git
synced 2026-03-28 07:47:02 -05:00
patterns:/intel_hex: Allow Intel Hex pattern to support files with linux line endings
This commit is contained in:
@@ -47,7 +47,9 @@ struct data_packet {
|
||||
}
|
||||
|
||||
u16 checksum [[color("0045F0DF")]];
|
||||
u16 null_bytes [[color("005E565A")]];
|
||||
u8 line_ending_1 [[color("005E565A")]];
|
||||
if (line_ending_1 == '\r')
|
||||
u8 line_ending_2 [[color("005E565A")]];
|
||||
};
|
||||
|
||||
data_packet data[while(!std::mem::eof())] @ 0x00;
|
||||
data_packet data[while(!std::mem::eof())] @ 0x00;
|
||||
|
||||
Reference in New Issue
Block a user