mirror of
https://github.com/xuanxuan0/DripLoader
synced 2026-06-08 18:26:51 +00:00
Update Helpers.cpp
This commit is contained in:
@@ -97,9 +97,11 @@ unsigned char* ReadProcessBlob(const char* fnamSc, DWORD* szSc)
|
||||
FILE_ATTRIBUTE_NORMAL,
|
||||
NULL
|
||||
);
|
||||
|
||||
if (INVALID_HANDLE_VALUE == hFile)
|
||||
return nullptr;
|
||||
|
||||
DWORD szFile = GetFileSize(hFile, NULL);
|
||||
|
||||
SIZE_T szFile = GetFileSize(hFile, NULL);
|
||||
*szSc = szFile;
|
||||
|
||||
unsigned char* raw = new unsigned char[szFile];
|
||||
@@ -166,4 +168,4 @@ void PlayHeader()
|
||||
cout << header2;
|
||||
Sleep(1000);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user