launcher: check for custom d3d9.dll in user's game directory (#309)

## Link to GitHub Issue, if one exists
n/a

## Description of change
Log a message if d3d9.dll (and friends) are found in the game root or
the modules directory.

This is to help with troubleshooting in cases where the user is unaware
that d3d9 is being used to inject other DLLs (e.g., ifs_layeredfs), or
when DX9 reimplementation is causing issues / crashes (e.g., dxvk).

## Testing
Observed the new messages being logged in both modules / root directory.
This commit is contained in:
bicarus-dev
2025-05-02 01:51:23 -07:00
committed by GitHub
parent 4f72b0a98b
commit 2b735ffd55
3 changed files with 23 additions and 0 deletions
+1
View File
@@ -25,6 +25,7 @@ namespace libutils {
}
void check_duplicate_dlls();
void warn_if_dll_exists(const std::string &file_name);
// get module handle helpers
HMODULE get_module(const char *module_name);