diff --git a/cpp/LunaHook/LunaHook/engine64/yuzu.h b/cpp/LunaHook/LunaHook/engine64/yuzu.h index e7cfdb85..2e45b37e 100644 --- a/cpp/LunaHook/LunaHook/engine64/yuzu.h +++ b/cpp/LunaHook/LunaHook/engine64/yuzu.h @@ -10,7 +10,9 @@ public: check_by = CHECK_BY::CUSTOM; check_by_target = []() { - return (wcscmp(processName_lower, L"suyu.exe") == 0 || wcscmp(processName_lower, L"yuzu.exe") == 0 || wcscmp(processName_lower, L"sudachi.exe") == 0); + auto exes = {L"suyu.exe", L"yuzu.exe", L"sudachi.exe", L"citron.exe"}; + return std::any_of(exes.begin(), exes.end(), [](const wchar_t *e) + { return wcscmp(processName_lower, e) == 0; }); }; }; bool attach_function();