Eliminate SDK usage in CDetour.

This commit is contained in:
KyleSanderson
2014-01-14 17:47:36 -07:00
parent 16e7020dd1
commit c1e9d2f898
-3
View File
@@ -13,8 +13,6 @@
#define IA32_MOV_REG_IMM 0xB8 // encoding is +r <imm32> #define IA32_MOV_REG_IMM 0xB8 // encoding is +r <imm32>
#endif #endif
extern void Msg( const char *, ... );
/** /**
* Checks if a call to a fpic thunk has just been written into dest. * Checks if a call to a fpic thunk has just been written into dest.
* If found replaces it with a direct mov that sets the required register to the value of pc. * If found replaces it with a direct mov that sets the required register to the value of pc.
@@ -64,7 +62,6 @@ void check_thunks(unsigned char *dest, unsigned char *pc)
} }
default: default:
{ {
Msg("Unknown thunk: %c\n", *(calladdr+1));
break; break;
} }
} }