24 Jan
2024
24 Jan
'24
5:06 p.m.
This is a native format that we're trying to mimic (even so we have some Wine-specific extensions now). I have analyzed some native NTF files and it looks like we should pad all strings to 4-byte boundary. It would be probably best to introduce something like `ntf_strlen` helper that returns `(strlen(str) + 4) & ~3` and use it instead of `strlen`. I'm expecting this to solve all the alignment related problems but I haven't tested it. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4930#note_58857