win-capture: Output hook debug messages if addresses missing

master
jp9000 2016-11-01 03:46:33 -07:00
parent 926b9c5f96
commit d4a99e062b
1 changed files with 2 additions and 0 deletions

View File

@ -315,6 +315,7 @@ static inline bool attempt_hook(void)
if (!d3d9_hooked) {
if (!d3d9_hookable()) {
DbgOut("no D3D9 hook address found!\n");
d3d9_hooked = true;
} else {
d3d9_hooked = hook_d3d9();
@ -326,6 +327,7 @@ static inline bool attempt_hook(void)
if (!dxgi_hooked) {
if (!dxgi_hookable()) {
DbgOut("no DXGI hook address found!\n");
dxgi_hooked = true;
} else {
dxgi_hooked = hook_dxgi();