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:
888be1df7c6f962725a28a172a5394eec3e228e7
2019-12-18 20:51:09 +01:00
parent 54cd2f6e9a
commit e97f6b5d8d
5 changed files with 76 additions and 2 deletions

View File

@ -9,6 +9,7 @@ struct vfs_config {
bool enable;
wchar_t amfs[MAX_PATH];
wchar_t appdata[MAX_PATH];
wchar_t option[MAX_PATH];
};
HRESULT vfs_hook_init(const struct vfs_config *config);