From 5f08f50bedfde41ca8a6f2aa47bf8d3b50ec63fa Mon Sep 17 00:00:00 2001 From: zaphkito Date: Wed, 16 Oct 2024 14:27:48 +0000 Subject: [PATCH] vfs: redir vitural AMFS partition to D:\ again --- platform/vfs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platform/vfs.c b/platform/vfs.c index e49ad5b..77aaba0 100644 --- a/platform/vfs.c +++ b/platform/vfs.c @@ -319,8 +319,8 @@ static HRESULT vfs_path_hook(const wchar_t *src, wchar_t *dest, size_t *count) } switch (src[0]) { - case L'e': - case L'E': + case L'd': + case L'D': redir = vfs_config.amfs; break; @@ -502,7 +502,7 @@ static HRESULT vfs_path_hook_option( static HRESULT vfs_reg_read_amfs(void *bytes, uint32_t *nbytes) { - return reg_hook_read_wstr(bytes, nbytes, L"E:\\"); + return reg_hook_read_wstr(bytes, nbytes, L"D:\\"); } static HRESULT vfs_reg_read_appdata(void *bytes, uint32_t *nbytes)