May 20, 2026
7:36 p.m.
That helps Azure Striker Gunvolt 2 which otherwise crashes in the last phase of final boss where a player is required to sing in Japanese and the game starts audio capture through dsound. For some reason it subtracts buffer length from current audio position and initially calls IDirectSoundCaptureBufferImpl_Lock with dwReadCusor of 4294946128. Existing clamp to buffer range doesn't work very well due to integer overflow, while my testing on Windows shows that it shouldn't clamp the output range to buffer size but instead return DSERR_INVALIDPARAM and zero output pointers and lengths. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10966#note_140849