https://bugs.winehq.org/show_bug.cgi?id=52821
--- Comment #1 from C. Leu kle@bluewin.ch --- I found a manual workaround to get this working. :-)
A short HowTo:
- rename Wines msvcp140_atomic_wait.dll in System32 and SysWOW64 to msvcp140_atomic_waitWINE.dll (or else)
- copy the original MS msvcp140_atomic_wait.dll into the corresponding folder, the 64bit into System32 and the 32bit into SysWOW64
- start up winecfg from the CLI and select "Libraries", add here a new one called msvcp140_atomic_wait (without the dll extension)
There should be now a new entry "msvcp140_atomic_wait (Native, Builtin)". Exit winecfg and start up CXBX-R build 374ba5e. It should work again. I have tested this also with PCSX-Redux nightly 8457.
Note, I grabbed the latest msvcp140_atomic_wait.dll file version from my last Windows 7 computer where I have installed the current MSVC runtime library from here. As of April 2022 it gave me file version 14.31.31103.0.