Floats are always returned in FPU register st0. Since the value in st0 doesn't matter in a pre-hook before the function was executed, don't try to save and restore the value of the FPU stack top for a pre-hook. Only replace st0 after a post hook. |
||
|---|---|---|
| .. | ||
| conventions | ||
| asm.cpp | ||
| asm.h | ||
| convention.h | ||
| hook.cpp | ||
| hook.h | ||
| manager.cpp | ||
| manager.h | ||
| registers.cpp | ||
| registers.h | ||
| utilities.cpp | ||
| utilities.h | ||