revert hook cap

This commit is contained in:
kotori0 2020-12-13 00:09:24 +08:00
parent 7f0dd38866
commit db76b1adcf
1 changed files with 1 additions and 1 deletions

View File

@ -16,6 +16,6 @@ int doInitHookCap(unsigned int cap);
void setupTrampoline(uint8_t offset);
void *genTrampoline(void *toMethod, void *entrypoint);
#define DEFAULT_CAP 4 //size of each trampoline area would be no more than 4k Bytes(one page)
#define DEFAULT_CAP 1 //size of each trampoline area would be no more than 4k Bytes(one page)
#endif //YAHFA_TAMPOLINE_H