Re: [PATCH v6 0/1] MR10278: d3dxof: Pad with magic value before object data in parse_object().
May 29, 2026
1:53 p.m.
I would put it in a more generic way (there might well be more games depending on this implementation detail even without Delphi involvement) before explaining the particular example this is fixing. Maybe something like: ```suggestion:-3+0 /* Applications have been known to depend on the presence of padding before * the object data. * Specifically, Space Empires V reinterprets the returned object as a * Delphi dynamic array and updates the value at (DWORD *)ptr - 1 for * refcounting and allocation decisions. Must be >= 2. */ ``` -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10278#note_141670
12
Age (days ago)
12
Last active (days ago)
0 comments
1 participants
participants (1)
-
Matteo Bruni (@Mystral)