mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
handle to GetFileVersionInfoW must be zero
This commit is contained in:
parent
c36ae84b96
commit
1b1fc39f02
@ -183,7 +183,7 @@ static bool GetModuleVersion(const wchar_t* name, Version* version)
|
||||
if (!data_len)
|
||||
return false;
|
||||
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;
|
||||
void* buf;
|
||||
UINT buf_len;
|
||||
|
Loading…
Reference in New Issue
Block a user