dsoal
dsoal copied to clipboard
Missing dsoal-aldrv crashes programs
https://github.com/kcat/dsoal/blob/master/dsound_main.c I'm not exactly sure what's the expected behaviour with those ERRs (bail, and just load everything as usual?), but both mirror's edge and rightmark crash on start with an error like this. I reckon it's a (very) stupid problem, but still... A legit warning/error wouldn't hurt.
Current behavior is if dsoal-aldrv.dll can't be loaded, it logs an ERR message to stderr and returns false from DllMain, which tells Windows that the DLL failed to load (which in turn tells the calling process the DLL isn't usable, with the exact behavior dependent on the app and how it's using dsound.dll). I'm not sure if there's a better way to indicate a more specific error back to Windows/the app.
Try to change dsound.dll from Win32 to x64 version or vice versa, works for me.