fixed amfs/appdata redirects

This commit is contained in:
Dniel97 2024-02-22 12:02:32 +01:00
parent e40e1dffe3
commit ae199502e8
Signed by untrusted user: Dniel97
GPG Key ID: 6180B3C768FB2E08
2 changed files with 3 additions and 3 deletions

View File

@ -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",

View File

@ -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:\\");
}