Set up hooks for GetProcAddress and LoadLibraryW

This commit is contained in:
Hay1tsme
2021-12-24 03:05:37 -05:00
parent 040b9f8dcf
commit 31d1ffe24f
4 changed files with 145 additions and 1 deletions

View File

@ -12,6 +12,7 @@
#include "mercuryhook/config.h"
#include "mercuryhook/io4.h"
#include "mercuryhook/mercury-dll.h"
#include "mercuryhook/elisabeth.h"
#include "platform/platform.h"
@ -75,6 +76,9 @@ static DWORD CALLBACK mercury_pre_startup(void)
goto fail;
}
/* Start elisabeth Hooks for the LED and IO Board DLLs */
elisabeth_hook_init();
/* Initialize debug helpers */
spike_hook_init(L".\\segatools.ini");