Jan. 3, 2025
11:16 a.m.
You instead want to just memset() the entire changed structure to \~0.
That doesn't seem to work very well, the state application logic expects some bitmasks to be contained within supported limits. I instead added setting those extra states manually. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7056#note_91275