platform/vfs.c: Abort if VFS is misconfigured

This commit is contained in:
Tau
2019-11-05 20:44:00 -05:00
parent a94772b0c4
commit 48721f5418
2 changed files with 14 additions and 2 deletions

View File

@ -283,7 +283,7 @@ void vfs_config_load(struct vfs_config *cfg, const wchar_t *filename)
GetPrivateProfileStringW(
L"vfs",
L"amfs",
L"E:\\",
L"",
cfg->amfs,
_countof(cfg->amfs),
filename);
@ -291,7 +291,7 @@ void vfs_config_load(struct vfs_config *cfg, const wchar_t *filename)
GetPrivateProfileStringW(
L"vfs",
L"appdata",
L"Y:\\",
L"",
cfg->appdata,
_countof(cfg->appdata),
filename);