refactor all common parts and games

This commit is contained in:
2025-04-17 19:31:37 +02:00
parent a6126bf290
commit 66a53dd2de
496 changed files with 233 additions and 344 deletions

15
common/platform/vfs.h Normal file
View File

@ -0,0 +1,15 @@
#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, const char* game_id);