1
0
mirror of https://gitea.tendokyu.moe/Dniel97/segatools.git synced 2024-12-18 06:45:53 +01:00
segatools-dniel97/platform/vfs.h
Shiz 0d8dd05ceb 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.
2019-12-22 18:27:19 +01:00

16 lines
264 B
C

#pragma once
#include <windows.h>
#include <stdbool.h>
#include <stddef.h>
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);