mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-02 06:40:42 -07:00
utils: print out DLL metadata (#596)
## Link to GitHub Issue or related Pull Request, if one exists #592 ## Description of change * when custom DLLs are detected (`d3d9.dll`) print out some basic data from the PE header * for our own NVIDIA DLL stubs, add manifest files to identify ourselves * as a bonus, when DLL hooks are loaded from `-k`, print DLL info there as well This is mainly to detect when DXVK is in use.
This commit is contained in:
@@ -2307,6 +2307,7 @@ int main_implementation(int argc, char *argv[]) {
|
||||
// load hooks
|
||||
for (auto &hook : game_hooks) {
|
||||
log_info("launcher", "loading hook DLL {}", hook);
|
||||
libutils::print_dll_info(hook);
|
||||
HMODULE module;
|
||||
if (!(module = libutils::try_library(hook))) {
|
||||
log_warning("launcher", "failed to load hook {}: {}", hook, get_last_error_string());
|
||||
|
||||
Reference in New Issue
Block a user