forked from Hay1tsme/segatools
unityhook: managing VFS redirection and loading assemblies
This commit is contained in:
12
unityhook/config.c
Normal file
12
unityhook/config.c
Normal file
@ -0,0 +1,12 @@
|
||||
#include "config.h"
|
||||
|
||||
void unity_config_load(struct unity_config *cfg, const wchar_t *filename) {
|
||||
GetPrivateProfileStringW(
|
||||
L"unity",
|
||||
L"targetAssembly",
|
||||
L"",
|
||||
cfg->target_assembly,
|
||||
_countof(cfg->target_assembly),
|
||||
filename
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user