patchmanager: always log patch identifier of main DLL (#311)

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

## Description of change
Always log the DLL identifier string in patch manager, even if there are
no patches.

## Testing
Tested 32 / 64 bits.
This commit is contained in:
bicarus-dev
2025-05-04 00:23:51 -07:00
committed by GitHub
parent 2b735ffd55
commit 521e87ea41
@@ -1645,6 +1645,8 @@ namespace overlay::windows {
std::string first_id = get_game_identifier(MODULE_PATH / firstDll); std::string first_id = get_game_identifier(MODULE_PATH / firstDll);
std::filesystem::path firstPath = fmt::format("patches/{}.json", first_id); std::filesystem::path firstPath = fmt::format("patches/{}.json", first_id);
log_misc("patchmanager", "patch identifier of {}: {}", firstDll, first_id);
auto extraDlls = getExtraDlls(firstDll); auto extraDlls = getExtraDlls(firstDll);
std::erase_if(extraDlls, [](const std::string& dll) { std::erase_if(extraDlls, [](const std::string& dll) {
auto identifier = get_game_identifier(MODULE_PATH / dll); auto identifier = get_game_identifier(MODULE_PATH / dll);