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
jp9000 2015-07-11 15:36:53 -07:00
parent 45ed0a39a8
commit bf1d07f513
1 changed files with 1 additions and 1 deletions

View File

@ -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,