Skip to content

Commit e83b885

Browse files
committed
Add comment inside IsGame
1 parent dfb2c3c commit e83b885

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Source/HammerPatch/Application/Application.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,11 @@ void HAP::AddModule(HookModuleBase* module)
246246

247247
bool HAP::IsGame(const wchar_t* test)
248248
{
249+
/*
250+
Takes the current directory, goes up a step, gets the directory name and compares
251+
against parameter "test".
252+
*/
253+
249254
wchar_t directory[4096];
250255
GetCurrentDirectoryW(sizeof(directory), directory);
251256
PathRemoveFileSpecW(directory);

0 commit comments

Comments
 (0)