win-capture: Fix bad return type
This was casting the return type to bool, which caused any non-zero return code be converted to 1.master
parent
45ed0a39a8
commit
bf1d07f513
|
@ -560,7 +560,7 @@ static inline bool init_pipe(struct game_capture *gc)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline bool inject_library(HANDLE process, const wchar_t *dll)
|
static inline int inject_library(HANDLE process, const wchar_t *dll)
|
||||||
{
|
{
|
||||||
return inject_library_obf(process, dll,
|
return inject_library_obf(process, dll,
|
||||||
"D|hkqkW`kl{k\\osofj", 0xa178ef3655e5ade7,
|
"D|hkqkW`kl{k\\osofj", 0xa178ef3655e5ade7,
|
||||||
|
|
Loading…
Reference in New Issue