Add option to enable/disable hook

This commit is contained in:
2024-04-16 01:27:48 +07:00
parent c895c275cf
commit 3c2609798b
3 changed files with 9 additions and 0 deletions

View File

@ -1,6 +1,8 @@
#include "config.h"
void unity_config_load(struct unity_config *cfg, const wchar_t *filename) {
cfg->enable = GetPrivateProfileIntW(L"unity",L"enable",1,filename);
GetPrivateProfileStringW(
L"unity",
L"targetAssembly",