forked from TeamTofuShop/segatools
platform/vfs.c: add option path redirection
Optional for now, since not all games or configurations may need it. It may be better eventually to refactor hooklib/path.c to allow for static path remapping, to minimize boilerplate code around the functions.
This commit is contained in:
parent
54cd2f6e9a
commit
e97f6b5d8d
@ -295,5 +295,13 @@ void vfs_config_load(struct vfs_config *cfg, const wchar_t *filename)
|
||||
cfg->appdata,
|
||||
_countof(cfg->appdata),
|
||||
filename);
|
||||
|
||||
GetPrivateProfileStringW(
|
||||
L"vfs",
|
||||
L"option",
|
||||
L"",
|
||||
cfg->option,
|
||||
_countof(cfg->option),
|
||||
filename);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user