Eliminate SDK dependence for MM:S enabled extensions.

This commit is contained in:
Kyle Sanderson
2014-08-09 14:42:38 -07:00
parent 3edd1ce658
commit 901890e36d
3 changed files with 10 additions and 5 deletions
-3
View File
@@ -13,8 +13,6 @@
#define IA32_MOV_REG_IMM 0xB8 // encoding is +r <imm32>
#endif
extern void Msg( const char *, ... );
/**
* 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.
@@ -64,7 +62,6 @@ void check_thunks(unsigned char *dest, unsigned char *pc)
}
default:
{
Msg("Unknown thunk: %c\n", *(calladdr+1));
break;
}
}