mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-02 06:40:42 -07:00
utils: print DLL info for early hooks (#597)
## Link to GitHub Issue or related Pull Request, if one exists #596 ## Description of change Adds call to `libutils::print_dll_info` for early hooks too. ## Testing ``` [2026/03/27 09:51:16] I:launcher: SpiceTools Bootstrap (x64) (spice2x) [2026/03/27 09:51:16] I:launcher: 1.0-V-2026-03-27T07:46:10 [2026/03/27 09:51:16] I:launcher: spice2x is free & open source; if you paid money for it, you got scammed [2026/03/27 09:51:16] I:launcher: visit https://spice2x.github.io to download the latest version for free [2026/03/27 09:51:16] I:launcher: arguments: [...] -z C:\Users\Noe\AppData\Local\Programs\SpiceTools\hooks\64\mempatcher64.dll [...] [2026/03/27 09:51:16] I:launcher: loading early hook DLL C:\Users\Noe\AppData\Local\Programs\SpiceTools\hooks\64\mempatcher64.dll [2026/03/27 09:51:16] I:superexit: enabled [2026/03/27 09:51:16] I:libutils: DLL info for mempatcher64.dll: CompanyName = aixxe, ProductName = mempatcher, Version = 4975386c637a86e8daa89d479a0c67ab28d792ec ```
This commit is contained in:
@@ -1507,6 +1507,7 @@ int main_implementation(int argc, char *argv[]) {
|
||||
// early hooks
|
||||
for (auto &hook : early_hooks) {
|
||||
log_info("launcher", "loading early hook DLL {}", hook);
|
||||
libutils::print_dll_info(hook);
|
||||
HMODULE module;
|
||||
if (!(module = libutils::try_library(hook))) {
|
||||
log_warning("launcher", "failed to load early hook {}: {}", hook, get_last_error_string());
|
||||
|
||||
Reference in New Issue
Block a user