segatools/common/platform/vfs.h
2026-02-08 12:21:04 +01:00

21 lines
478 B
C

#pragma once
#include <windows.h>
#include <stdbool.h>
#include <stddef.h>
#define MAX_REDIRECTIONS 8
struct vfs_config {
bool enable;
wchar_t amfs[MAX_PATH];
wchar_t appdata[MAX_PATH];
wchar_t option[MAX_PATH];
wchar_t redirections_from[MAX_REDIRECTIONS][MAX_PATH];
int redirections_from_len[MAX_REDIRECTIONS];
wchar_t redirections_to[MAX_REDIRECTIONS][MAX_PATH];
};
HRESULT vfs_hook_init(const struct vfs_config *config, const char* game_id);