mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-23 19:25:35 +08:00
reset these initially
This commit is contained in:
parent
29ce0ae93d
commit
31d12fb0f9
@ -69,7 +69,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
WCHAR TMP[MAX_PATH] = {};
|
WCHAR TMP[MAX_PATH] = { 0 };
|
||||||
if (!IsNotRelativePathOrRemoveFileName(Client64Path, false)) {
|
if (!IsNotRelativePathOrRemoveFileName(Client64Path, false)) {
|
||||||
lstrcpyW(TMP, Client64Path);
|
lstrcpyW(TMP, Client64Path);
|
||||||
SecureZeroMemory(Client64Path, sizeof(Client64Path));
|
SecureZeroMemory(Client64Path, sizeof(Client64Path));
|
||||||
@ -113,7 +113,8 @@ int APIENTRY wWinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance
|
|||||||
MessageBoxA(NULL, "Unable to load the requested EXE file.", "ColdClientLoader", MB_ICONERROR);
|
MessageBoxA(NULL, "Unable to load the requested EXE file.", "ColdClientLoader", MB_ICONERROR);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
HKEY Registrykey;
|
|
||||||
|
HKEY Registrykey = { 0 };
|
||||||
// Declare some variables to be used for Steam registry.
|
// Declare some variables to be used for Steam registry.
|
||||||
DWORD UserId = 0x03100004771F810D & 0xffffffff;
|
DWORD UserId = 0x03100004771F810D & 0xffffffff;
|
||||||
DWORD ProcessID = GetCurrentProcessId();
|
DWORD ProcessID = GetCurrentProcessId();
|
||||||
|
Loading…
Reference in New Issue
Block a user