mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
handle to GetFileVersionInfoW must be zero
This commit is contained in:
@ -183,7 +183,7 @@ static bool GetModuleVersion(const wchar_t* name, Version* version)
|
|||||||
if (!data_len)
|
if (!data_len)
|
||||||
return false;
|
return false;
|
||||||
std::vector<u8> block(data_len);
|
std::vector<u8> block(data_len);
|
||||||
if (!GetFileVersionInfoW(path->c_str(), handle, data_len, block.data()))
|
if (!GetFileVersionInfoW(path->c_str(), 0, data_len, block.data()))
|
||||||
return false;
|
return false;
|
||||||
void* buf;
|
void* buf;
|
||||||
UINT buf_len;
|
UINT buf_len;
|
||||||
|
Reference in New Issue
Block a user