We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfb2c3c commit e83b885Copy full SHA for e83b885
Source/HammerPatch/Application/Application.cpp
@@ -246,6 +246,11 @@ void HAP::AddModule(HookModuleBase* module)
246
247
bool HAP::IsGame(const wchar_t* test)
248
{
249
+ /*
250
+ Takes the current directory, goes up a step, gets the directory name and compares
251
+ against parameter "test".
252
+ */
253
+
254
wchar_t directory[4096];
255
GetCurrentDirectoryW(sizeof(directory), directory);
256
PathRemoveFileSpecW(directory);
0 commit comments