https://bugs.winehq.org/show_bug.cgi?id=49850
Bug ID: 49850 Summary: No One Lives Forever crashes due to GetMotif stub in dmstyle Product: Wine Version: 5.12 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-dmusic Assignee: wine-bugs@winehq.org Reporter: qsniyg@mail.com Distribution: ---
Returning S_FALSE instead of S_OK fixes the crash (though music still fails to play).
Though I haven't used a debugger, I suspect the reason NOLF crashes here is because it will try to access ppSegment (which has not been modified by GetMotif) if it returns S_OK.
I'm not sure if any other lithtech games are affected.