mu3hook/unity.c: hook Unity plugin DLLs

- Unity loads plugin DLLs and Mono dynamically.

- Ongeki uses Criware for videos so hook the Criware plugin DLL so the
  path hooks load the videos from the hooked paths.
This commit is contained in:
2020-03-13 05:30:18 +00:00
parent 8bde573bdd
commit 20d5d480fb
4 changed files with 102 additions and 0 deletions

View File

@ -11,6 +11,7 @@
#include "mu3hook/config.h"
#include "mu3hook/io4.h"
#include "mu3hook/unity.h"
#include "platform/platform.h"
@ -33,6 +34,7 @@ static DWORD CALLBACK mu3_pre_startup(void)
/* Hook Win32 APIs */
serial_hook_init();
unity_hook_init();
/* Initialize emulation hooks */