f02342ac0c
Before, game capture would find addresses to important graphics functions by creating a graphics context for the desired API inside of the hook, and then find the function addresses that way. The big problem with that is that the context could often cause the hooked application to crash, especially if another hook was active. This bypasses that entire need by a simple console application that creates the contexts, finds the hook address offsets and then returns them via console output. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
d3d8-offsets.cpp | ||
d3d9-offsets.cpp | ||
ddraw-offsets.cpp | ||
dxgi-offsets.cpp | ||
get-graphics-offsets.c | ||
get-graphics-offsets.h |