mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-02 14:50:41 -07:00
launcher: detect custom nvidia DLLs (#329)
## Link to GitHub Issue, if one exists n/a ## Description of change Complain if nvcuda.dll, nvcuvid.dll, or nvEncodeAPI64.dll are found in modules or in root directory. This would complain for spice-provided stubs as well. ## Testing
This commit is contained in:
@@ -1912,6 +1912,9 @@ int main_implementation(int argc, char *argv[]) {
|
||||
libutils::warn_if_dll_exists("d3d12.dll");
|
||||
libutils::warn_if_dll_exists("dxgi.dll");
|
||||
libutils::warn_if_dll_exists("opengl32.dll");
|
||||
libutils::warn_if_dll_exists("nvcuda.dll");
|
||||
libutils::warn_if_dll_exists("nvcuvid.dll");
|
||||
libutils::warn_if_dll_exists("nvEncodeAPI64.dll");
|
||||
|
||||
// complain loudly & early about dll load ordering issue
|
||||
libutils::check_duplicate_dlls();
|
||||
|
||||
Reference in New Issue
Block a user