From ae199502e89110ed34f116699470b9bda55ad3a4 Mon Sep 17 00:00:00 2001 From: Dniel97 Date: Thu, 22 Feb 2024 12:02:32 +0100 Subject: [PATCH] fixed amfs/appdata redirects --- aimeio/aimeio.c | 2 +- platform/vfs.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/aimeio/aimeio.c b/aimeio/aimeio.c index fa0db03..93f3ebf 100644 --- a/aimeio/aimeio.c +++ b/aimeio/aimeio.c @@ -68,7 +68,7 @@ static void aime_io_config_read( cfg->felica_path, _countof(cfg->felica_path), filename); - dprintf("NFC: felicaPath GetLastError %lx\n", GetLastError()); + // dprintf("NFC: felicaPath GetLastError %lx\n", GetLastError()); cfg->felica_gen = GetPrivateProfileIntW( L"aime", diff --git a/platform/vfs.c b/platform/vfs.c index e19b046..60e4d4f 100644 --- a/platform/vfs.c +++ b/platform/vfs.c @@ -466,10 +466,10 @@ static HRESULT vfs_path_hook_option( static HRESULT vfs_reg_read_amfs(void *bytes, uint32_t *nbytes) { - return reg_hook_read_wstr(bytes, nbytes, vfs_config.amfs); // seems to be busted? + return reg_hook_read_wstr(bytes, nbytes, L"E:\\"); } static HRESULT vfs_reg_read_appdata(void *bytes, uint32_t *nbytes) { - return reg_hook_read_wstr(bytes, nbytes, vfs_config.appdata); + return reg_hook_read_wstr(bytes, nbytes, L"Y:\\"); }